Save the user record after changing it
This commit is contained in:
parent
4dfe43c956
commit
b012617608
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue