From 2749e7a58285e59381a3e788983678d9cf633b45 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Wed, 16 Nov 2016 18:02:51 +0100 Subject: [PATCH] Fix `chat_names` before_action --- app/controllers/profiles/chat_names_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]