Method: Brightcontent::BaseControllerExt::DefaultActions#update
- Defined in:
- lib/brightcontent/base_controller_ext/default_actions.rb
#update ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/brightcontent/base_controller_ext/default_actions.rb', line 73 def update if resource.update(resource_params) redirect_to resource_redirect_path, notice: t("flash.actions.update.notice", resource_name: resource_human_name) else render :edit end end |