Add in missing available includes
This commit is contained in:
@@ -10,4 +10,8 @@ class ForumTopicVisit < ApplicationRecord
|
||||
q = search_attributes(params, :id, :created_at, :updated_at, :user, :forum_topic_id, :last_read_at)
|
||||
q.apply_default_order(params)
|
||||
end
|
||||
|
||||
def self.available_includes
|
||||
[:forum_topic]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user