Skip to content

Commit ef035af

Browse files
committed
Fix Tags#show page
1 parent 9059a44 commit ef035af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/views/tags/_taggings.html.erb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@
1616
<ul style="margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem;">
1717
<% @tag.taggings.each do |tagging| %>
1818
<li>
19-
<%= link_to tagging.taggable.title, url_for(tagging.taggable),
19+
<%= link_to tagging.taggable.title, url_for(tagging.taggable),
2020
target: "_blank",
2121
style: "color: #8b5cf6; text-decoration: none; font-weight: 500; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s;",
2222
onmouseover: "this.style.color='#7c3aed'",
2323
onmouseout: "this.style.color='#8b5cf6'" %>
2424
<svg style="width: 0.75rem; height: 0.75rem;" fill="none" stroke="currentColor" viewBox="0 0 24 24">
2525
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
2626
</svg>
27-
</a>
2827
</li>
2928
<% end %>
3029
</ul>

0 commit comments

Comments
 (0)