Class: Admin::CmsSettingsController
- Inherits:
-
BaseController
- Object
- BaseController
- Admin::CmsSettingsController
- Defined in:
- app/controllers/admin/cms_settings_controller.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/controllers/admin/cms_settings_controller.rb', line 3 def update Spree::Config.set(params[:preferences]) respond_to do |wants| wants.html { redirect_to admin_cms_settings_path } end end |