summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 18:02:51 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-17 21:34:23 +0100
commitc2e6f5fc241b3a3bc980dfbdaf9af6c59a098af5 (patch)
tree70645bf204fb04dda0ad7fde453406006f97e55d
parentbb988fd21498102e203f49c0968153d5ea83d03f (diff)
downloadgitlab-ce-c2e6f5fc241b3a3bc980dfbdaf9af6c59a098af5.tar.gz
Fix `chat_names` before_action
-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 8c5b83adaf4..0d3bdeff416 100644
--- a/app/controllers/profiles/chat_names_controller.rb
+++ b/app/controllers/profiles/chat_names_controller.rb
@@ -1,5 +1,5 @@
class Profiles::ChatNamesController < Profiles::ApplicationController
- before_action :chat_names
+ before_action :chat_names, only: [:index]
before_action :chat_name_token, only: [:new]
before_action :chat_name_params, only: [:new, :create, :deny]