From 7ae853db764f79bf032ec56aa9e576cee63fcc51 Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 2 Jan 2020 20:05:20 +0100 Subject: [PATCH] Proper url to orga or event --- app/views/events/show.html.haml | 2 +- app/views/orgas/show.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index 342cbef9..87545ec0 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -48,7 +48,7 @@ %p %em.fa.fa-external-link-alt %span.label= Event.human_attribute_name :url - = link_to @event.url + = link_to @event.url, @event.url - if @event.contact.present? %p %em.fa.fa-envelope diff --git a/app/views/orgas/show.html.haml b/app/views/orgas/show.html.haml index fd505e9d..e60537b9 100644 --- a/app/views/orgas/show.html.haml +++ b/app/views/orgas/show.html.haml @@ -43,7 +43,7 @@ %dt.url %em.fa.fa-external-link-alt = Orga.human_attribute_name :url - %dd= link_to @orga.url + %dd= link_to @orga.url, @orga.url - if @orga.diaspora.present? %dt.diaspora< = Orga.human_attribute_name :diaspora