Class: WidgetsController
- Inherits:
-
AuthorizableController
- Object
- AuthorizableController
- WidgetsController
- Defined in:
- app/controllers/widgets_controller.rb
Instance Method Summary collapse
Instance Method Details
#load ⇒ Object
5 6 |
# File 'app/controllers/widgets_controller.rb', line 5 def load end |
#save ⇒ Object
8 9 10 11 12 13 |
# File 'app/controllers/widgets_controller.rb', line 8 def save @widget.attributes = params[:widget] if @widget.save #success end end |