Class: Admin::CaptchaSettingsController

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

Instance Method Summary collapse

Instance Method Details

#updateObject



2
3
4
5
6
7
8
9
10
# File 'app/controllers/admin/captcha_settings_controller.rb', line 2

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

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