tags: refactor tag lists to use ViewComponent.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
<% if policy(upload).can_view_tags? %>
|
||||
<span class="info">
|
||||
<strong>Tags</strong>
|
||||
<%= TagSetPresenter.new(upload.tag_string.split).inline_tag_list_html %>
|
||||
<%= render_inline_tag_list_from_names(upload.tag_string.split) %>
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user