smarter updates on saved searches on tag batch changes #2674

This commit is contained in:
Albert Yi
2016-12-05 17:19:21 -08:00
parent bfa1ac63a4
commit deb62e0cdb
3 changed files with 15 additions and 5 deletions

View File

@@ -152,4 +152,8 @@ class SavedSearch < ActiveRecord::Base
user.update_attribute(:has_saved_searches, false)
end
end
def tag_query_array
Tag.scan_tags(tag_query)
end
end