Commit 2fefe76ce45b2bbb06f3bc42af82f616036a6dc3
1 parent
a65449c9
Exists in
master
and in
23 other branches
shopping-cart: view_path must be appended and the module inclusion should be outside the controller
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb
| 1 | -class ShoppingCartPluginMyprofileController < MyProfileController | |
| 1 | +include ShoppingCartPlugin::CartHelper | |
| 2 | 2 | |
| 3 | - include ShoppingCartPlugin::CartHelper | |
| 3 | +class ShoppingCartPluginMyprofileController < MyProfileController | |
| 4 | + append_view_path File.join(File.dirname(__FILE__) + '/../views') | |
| 4 | 5 | |
| 5 | 6 | def edit |
| 6 | 7 | params[:settings] = treat_cart_options(params[:settings]) | ... | ... |