summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
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