Skip to content

Commit

Permalink
One more tweak on deprecated tags - whitelist inclusion of modify tag…
Browse files Browse the repository at this point in the history
… filters and delete tag filters.
  • Loading branch information
Steph Skardal committed Oct 19, 2018
1 parent 157d4dd commit 9a0205a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/hub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def hub_feed_for_feed_item(feed_item)
end

def deprecated_tags
TagFilter.where(hub_id: self.id, scope_type: 'Hub', type: 'DeleteTagFilter').map(&:tag).uniq
TagFilter.where(hub_id: self.id, scope_type: 'Hub', type: ['DeleteTagFilter', 'ModifyTagFilter']).map(&:tag).uniq
end

def deprecated_tag_names
Expand Down

0 comments on commit 9a0205a

Please sign in to comment.