Tag links point to the proper page

This commit is contained in:
echarp 2016-12-17 18:47:05 +01:00
parent 606c812dca
commit 24e2543a1d
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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