spree / 12.06.2014
A couple of Spree overrides examples
If you want to apply some javascript functions in a spree view you can do something like:
[ruby]
Deface::Override.new(:virtual_path => 'spree/addresses/edit',
:name => 'my_name_javascript_functionality',
:insert_bottom => ".inner",
:partial => '/spree/shared/my_partial_with_javascript_functions')
[/ruby]
content for
[shell]
/spree/shared/my_partial_with_javascript_functions.html.erb
[/shell]