Add in missing available includes

This commit is contained in:
BrokenEagle
2021-01-22 02:43:53 +00:00
parent 6d867de20f
commit 5698847077
5 changed files with 17 additions and 1 deletions

View File

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