Class: Spree::Admin::TaxSettingsController

Inherits:
BaseController show all
Defined in:
app/controllers/spree/admin/tax_settings_controller.rb

Instance Method Summary collapse

Methods included from Core::ControllerHelpers::Common

included

Methods included from Core::ControllerHelpers::Auth

#current_ability, included, #redirect_back_or_default, #store_location, #try_spree_current_user, #unauthorized

Instance Method Details

#updateObject



5
6
7
8
9
10
11
12
13
# File 'app/controllers/spree/admin/tax_settings_controller.rb', line 5

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

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