diff --git a/plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb b/plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb index 1056a14..ed7c5fd 100644 --- a/plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb +++ b/plugins/shopping_cart/controllers/shopping_cart_plugin_myprofile_controller.rb @@ -1,8 +1,4 @@ -include ShoppingCartPlugin::CartHelper - class ShoppingCartPluginMyprofileController < MyProfileController - append_view_path File.join(File.dirname(__FILE__) + '/../views') - def edit params[:settings] = treat_cart_options(params[:settings]) diff --git a/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb index 6eaba05..dbaa5d0 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb @@ -1,6 +1,7 @@

<%= _('Purchase Reports') %>

<% extend ProfileHelper %> +<% extend ShoppingCartPlugin::CartHelper %> <% status = ShoppingCartPlugin::PurchaseOrder::Status.name; pos=-1 %> <% status_collection = [[nil, _('All')]] %> -- libgit2 0.21.2