1
0
Fork 0
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:
Vijay Dev 2013-10-15 23:28:34 +05:30
commit 403efc3b3a

View file

@ -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