This commit is contained in:
r888888888
2013-06-10 16:33:26 -07:00
parent 2f2c892670
commit af25507480
7 changed files with 19 additions and 26 deletions

View File

@@ -51,6 +51,7 @@ class UsersController < ApplicationController
check_privilege(@user)
sanitize_params!
@user.update_attributes(params[:user], :as => CurrentUser.role)
cookies.delete(:favorite_tags)
respond_with(@user)
end