Sha256: 1b297b8b10248e346abf14f1f83a9acc8f6f585f66f33d295be4b2a7a26f201b

Contents?: true

Size: 335 Bytes

Versions: 9

Compression:

Stored size: 335 Bytes

Contents

module Spree
  module Admin
    class InventorySettingsController < Spree::Admin::BaseController

      def update
        Spree::Config.set(params[:preferences])
        flash[:success] = t(:successfully_updated, :resource => t(:inventory_settings))
        redirect_to edit_admin_inventory_settings_path
      end
    end
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_core-1.3.5 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.4 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.3 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.2 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.1 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.0 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.0.rc2 app/controllers/spree/admin/inventory_settings_controller.rb
dup_spree_core-1.3.0.rc1 app/controllers/spree/admin/inventory_settings_controller.rb
spree_core-1.3.0.rc1 app/controllers/spree/admin/inventory_settings_controller.rb