implications: refactor automatic tags.

Move #automatic_tags_for out of TagImplication since it doesn't really
belong here.
This commit is contained in:
evazion
2020-12-02 12:49:14 -06:00
parent 6485a053a5
commit 86e4c21e48
4 changed files with 12 additions and 22 deletions

View File

@@ -14,7 +14,7 @@
</p>
<% end %>
<% TagImplication.automatic_tags_for([tag.name]).tap do |automatic_tags| %>
<% Tag.automatic_tags_for([tag.name]).tap do |automatic_tags| %>
<% if automatic_tags.present? %>
<p class="fineprint">
This tag automatically adds