fixes #2419
This commit is contained in:
@@ -55,6 +55,8 @@ class UsersController < ApplicationController
|
||||
cookies.delete(:favorite_tags_with_categories)
|
||||
if @user.errors.any?
|
||||
flash[:notice] = @user.errors.full_messages.join("; ")
|
||||
else
|
||||
flash[:notice] = "Settings updated"
|
||||
end
|
||||
respond_with(@user)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user