110687814-migrations_and_values

This commit is contained in:
Stas 2016-02-25 13:54:46 +02:00
parent 185e1d5c93
commit 577762a2bc
5 changed files with 24 additions and 3 deletions

View file

@ -29,7 +29,7 @@ class Epp::ContactsController < EppController
def update
authorize! :update, @contact, @password
if @contact.update_attributes(params[:parsed_frame])
if @contact.update_attributes(params[:parsed_frame], current_user)
render_epp_response 'epp/contacts/update'
else
handle_errors(@contact)