From bd3a22542ee6388812ecf3573c46ebe025ae43f4 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 18 Jan 2024 15:43:54 -0500 Subject: [PATCH] Fix typo --- lib/discourse_topic_voting/list_controller_extension.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/discourse_topic_voting/list_controller_extension.rb b/lib/discourse_topic_voting/list_controller_extension.rb index 5b410ad..cd61fda 100644 --- a/lib/discourse_topic_voting/list_controller_extension.rb +++ b/lib/discourse_topic_voting/list_controller_extension.rb @@ -4,8 +4,8 @@ module DiscourseTopicVoting module ListControllerExtension def self.prepended(base) base.class_eval do - before_action :ensure_discourse_topic_voting, only: %i[voted_by, votes_feed] - skip_before_action :ensure_logged_in, only: %i[voted_by, votes_feed] + before_action :ensure_discourse_topic_voting, only: %i[voted_by votes_feed] + skip_before_action :ensure_logged_in, only: %i[voted_by votes_feed] end end