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