pundit: convert forum topic visits to pundit.

This commit is contained in:
evazion
2020-03-18 03:06:50 -05:00
parent f1f489c40b
commit 3d83c3154e

View File

@@ -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)