Save the user record after changing it

This commit is contained in:
Tom Hughes 2012-03-09 00:21:08 +00:00
parent 4dfe43c956
commit b012617608

View file

@ -474,6 +474,7 @@ class UserController < ApplicationController
# sets a user's status
def set_status
@this_user.status = params[:status]
@this_user.save
redirect_to :controller => 'user', :action => 'view', :display_name => params[:display_name]
end