From 3d83c3154ec556996e45b383c3b385e87d71aac0 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 18 Mar 2020 03:06:50 -0500 Subject: [PATCH] pundit: convert forum topic visits to pundit. --- app/controllers/forum_topic_visits_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/forum_topic_visits_controller.rb b/app/controllers/forum_topic_visits_controller.rb index 56db0f1b7..00c5eb677 100644 --- a/app/controllers/forum_topic_visits_controller.rb +++ b/app/controllers/forum_topic_visits_controller.rb @@ -1,6 +1,5 @@ class ForumTopicVisitsController < ApplicationController respond_to :xml, :json - before_action :member_only def index @forum_topic_visits = ForumTopicVisit.where(user: CurrentUser.user).paginated_search(params)