This commit is contained in:
r888888888
2015-06-30 13:13:57 -07:00
parent d56aa3bc2d
commit 1abdcb3cf3
6 changed files with 54 additions and 10 deletions

View File

@@ -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