Prevent saved searches, news updates, and ip bans from being publicly dumped to BigQuery. They didn't override the `visible` method to restrict their visibility for anonymous users.
9 lines
236 B
Ruby
9 lines
236 B
Ruby
class ForumTopicVisitsController < ApplicationController
|
|
respond_to :xml, :json
|
|
|
|
def index
|
|
@forum_topic_visits = ForumTopicVisit.visible(CurrentUser.user).paginated_search(params)
|
|
respond_with(@forum_topic_visits)
|
|
end
|
|
end
|