Remove unneeded available includes

The indexes for these only contain instances from the user regardless
of user level, so there's no need to show these.
This commit is contained in:
BrokenEagle
2021-01-22 02:44:47 +00:00
parent 5698847077
commit d06236c66b

View File

@@ -168,8 +168,4 @@ class SavedSearch < ApplicationRecord
def disable_labels=(value)
user.update(disable_categorized_saved_searches: true) if value.to_s.truthy?
end
def self.available_includes
[:user]
end
end