Method: Admin::RolesController#update
- Defined in:
- app/controllers/admin/roles_controller.rb
#update ⇒ Object
35 36 37 38 39 |
# File 'app/controllers/admin/roles_controller.rb', line 35 def update #role_params[:permission_tags] ||= [] flash[:notice] = 'SpudRole updated successfully' if @role.update(role_params) respond_with @role, location: admin_roles_path end |