Sha256: 084a4882051410a6ef8153453378feaaa1acb99643e88d4a41ea588ad3087cab

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

class Admin::CmsSettingsController < Admin::BaseController

  def update
    Spree::Config.set(params[:preferences])
    
    respond_to do |wants|
      wants.html { redirect_to admin_cms_settings_path }
    end
  end
  
end 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_cms-0.0.4 app/controllers/admin/cms_settings_controller.rb
spree_cms-0.0.3 app/controllers/admin/cms_settings_controller.rb