summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/chat_names_controller.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 14:02:14 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 14:02:14 +0100
commit9b86a5e19d902771ce13f3ddffe89b804479fcbc (patch)
tree9ad9940ec5634301cfc627657407b2dfe4b588eb /app/controllers/profiles/chat_names_controller.rb
parentcdb726ce202165d1ab747830d805a6144d93c5cc (diff)
downloadgitlab-ce-9b86a5e19d902771ce13f3ddffe89b804479fcbc.tar.gz
Fix code review
Diffstat (limited to 'app/controllers/profiles/chat_names_controller.rb')
-rw-r--r--app/controllers/profiles/chat_names_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/chat_names_controller.rb b/app/controllers/profiles/chat_names_controller.rb
index 7f9c8e64cca..3756ef364ea 100644
--- a/app/controllers/profiles/chat_names_controller.rb
+++ b/app/controllers/profiles/chat_names_controller.rb
@@ -25,7 +25,7 @@ class Profiles::ChatNamesController < Profiles::ApplicationController
def deny
delete_chat_name_token
- flash[:alert] = "Denied authorization of chat nickname #{chat_name_params[:user_name]}"
+ flash[:notice] = "Denied authorization of chat nickname #{chat_name_params[:user_name]}."
redirect_to profile_chat_names_path
end