houndci fixes
This commit is contained in:
parent
65d9bd10b5
commit
7cfa9ac5fb
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class Admin::OrganizationsController < ApplicationController
|
|||
|
||||
def update
|
||||
@organization = Organization.find(params[:id])
|
||||
flash[:notice] = 'Organization was successfully updated'
|
||||
flash[:notice] = 'Organization was successfully updated'
|
||||
if @organization.update_attributes(params[:organization])
|
||||
respond_with @organization, location: admin_organizations_path
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue