pundit: convert forum topic visits to pundit.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
class ForumTopicVisitsController < ApplicationController
|
class ForumTopicVisitsController < ApplicationController
|
||||||
respond_to :xml, :json
|
respond_to :xml, :json
|
||||||
before_action :member_only
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@forum_topic_visits = ForumTopicVisit.where(user: CurrentUser.user).paginated_search(params)
|
@forum_topic_visits = ForumTopicVisit.where(user: CurrentUser.user).paginated_search(params)
|
||||||
|
|||||||
Reference in New Issue
Block a user