Tag links point to the proper page

rails5
echarp 6 years ago
parent 606c812dca
commit 24e2543a1d

@ -113,7 +113,7 @@
%em.fa.fa-tags
%span.label= Event.human_attribute_name :tags
- @event.tags.each do |tag|
= link_to tag, tag_path(tag), rel: :tag
= link_to tag, tag_path(tag.name), rel: :tag
- if @event.repeat > 0
%h3

@ -110,7 +110,9 @@
%dt
%em.fa.fa-tags
= Event.human_attribute_name :tags
%dd= @orga.tag_list
%dd
- @orga.tags.each do |tag|
= link_to tag, tag_path(tag.name), rel: :tag
%dt
%em.fa.fa-heartbeat
= Orga.human_attribute_name :active

Loading…
Cancel
Save