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