Sha256: 888297d740073ceab85494c58931b9b92c9b75a525e00903041f2823a1793bc4
Contents?: true
Size: 260 Bytes
Versions: 3
Compression:
Stored size: 260 Bytes
Contents
class Admin::SettingsController < Admin::BaseController def update if SETTINGS.update_attributes(params[:settings]) SETTINGS.do_updates redirect_to admin_root_path, :notice => 'Settings updated' else render :edit end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jabe-0.5.9 | app/controllers/admin/settings_controller.rb |
jabe-0.5.8 | app/controllers/admin/settings_controller.rb |
jabe-0.5.7 | app/controllers/admin/settings_controller.rb |