Class: Admin::MailChimpSettingsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/admin/mail_chimp_settings_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
# File 'app/controllers/spree/admin/mail_chimp_settings_controller.rb', line 5

def show
end

#updateObject



8
9
10
11
12
13
14
15
16
# File 'app/controllers/spree/admin/mail_chimp_settings_controller.rb', line 8

def update
  Spree::Config.set(params[:preferences])

  respond_to do |format|
    format.html {
      redirect_to admin_mail_chimp_settings_path
    }
  end
end