From 66ce115fc3cba812bde574c1560e98949f69f707 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 7 May 2017 21:44:24 +0200 Subject: [PATCH] Link to events on the tag page --- app/views/tags/show.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index 925e12d1..f6b84cdc 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -36,8 +36,9 @@ - @events_future.order('start_time asc').each do |event| %article.event %h3 - %em.city= event.city - = event.title + = link_to event do + %em.city= event.city + = event.title %p.full_address - if event.place_name.present? %span= event.place_name