Class: Quadro::WidgetsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Quadro::WidgetsController
- Defined in:
- app/controllers/quadro/widgets_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#after_sign_in_path_for, #after_sign_out_path_for
Instance Method Details
#update ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/quadro/widgets_controller.rb', line 9 def update if .update_attributes(params[:widget]) flash[:notice] = t('flash.updated') else flash[:alert] = t('flash.not_updated') end respond_with end |