app/controllers/plugins/ecommerce/admin/settings_controller.rb in camaleon_ecommerce-1.2 vs app/controllers/plugins/ecommerce/admin/settings_controller.rb in camaleon_ecommerce-1.2.1

- old
+ new

@@ -1,10 +1,11 @@ class Plugins::Ecommerce::Admin::SettingsController < Plugins::Ecommerce::AdminController - add_breadcrumb I18n.t("plugin.ecommerce.e_commerce") + add_breadcrumb I18n.t("plugins.ecommerce.e_commerce") def index @setting = current_site.get_meta("_setting_ecommerce", {}) end + # save settings def saved current_site.set_meta('_setting_ecommerce', params[:setting]) flash[:notice] = t('camaleon_cms.admin.post_type.message.updated') redirect_to action: :index end