X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7a0302e2b992182896503690ca46588a02b09a2..88541c523d9f7624a100a6956f89410aec3afe06:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index a59190697..b56b58433 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -473,7 +473,7 @@ class UserController < ApplicationController ## # sets a user's status def set_status - @this_user.update_attributes(:status => params[:status]) + @this_user.status => params[:status] redirect_to :controller => 'user', :action => 'view', :display_name => params[:display_name] end