mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:rails/docrails
This commit is contained in:
commit
403efc3b3a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class PeopleController < ActionController::Base
|
|||
# Request reply.
|
||||
def update
|
||||
person = current_account.people.find(params[:id])
|
||||
person.update_attributes!(person_params)
|
||||
person.update!(person_params)
|
||||
redirect_to person
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue