summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 14:58:03 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-17 14:58:03 +0100
commit1ddfc574ce1753ba783c5c1734efb6105f20f3d7 (patch)
treef7907cc6f74047d16f9850f19c8b0dd59741ec75 /app/controllers
parent9b86a5e19d902771ce13f3ddffe89b804479fcbc (diff)
downloadgitlab-ce-1ddfc574ce1753ba783c5c1734efb6105f20f3d7.tar.gz
Add chat_name partial
Diffstat (limited to 'app/controllers')
-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 3756ef364ea..6a1f468ba5a 100644
--- a/app/controllers/profiles/chat_names_controller.rb
+++ b/app/controllers/profiles/chat_names_controller.rb
@@ -1,9 +1,9 @@
class Profiles::ChatNamesController < Profiles::ApplicationController
- before_action :chat_names, only: [:index]
before_action :chat_name_token, only: [:new]
before_action :chat_name_params, only: [:new, :create, :deny]
def index
+ @chat_names = current_user.chat_names
end
def new