summaryrefslogtreecommitdiff
path: root/app/controllers/profiles
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 18:02:51 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-16 18:02:51 +0100
commit2749e7a58285e59381a3e788983678d9cf633b45 (patch)
treef4fab03d2ac277302a722955615def1d236c38d7 /app/controllers/profiles
parentd2d64393ed0e64fd63981d5d02fee52fa16a081c (diff)
downloadgitlab-ce-2749e7a58285e59381a3e788983678d9cf633b45.tar.gz
Fix `chat_names` before_action
Diffstat (limited to 'app/controllers/profiles')
-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]