Proper url to orga or event

This commit is contained in:
echarp 2020-01-02 20:05:20 +01:00
parent 303e92663d
commit 7ae853db76
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
%p %p
%em.fa.fa-external-link-alt %em.fa.fa-external-link-alt
%span.label= Event.human_attribute_name :url %span.label= Event.human_attribute_name :url
= link_to @event.url = link_to @event.url, @event.url
- if @event.contact.present? - if @event.contact.present?
%p %p
%em.fa.fa-envelope %em.fa.fa-envelope

View File

@ -43,7 +43,7 @@
%dt.url %dt.url
%em.fa.fa-external-link-alt %em.fa.fa-external-link-alt
= Orga.human_attribute_name :url = Orga.human_attribute_name :url
%dd= link_to @orga.url %dd= link_to @orga.url, @orga.url
- if @orga.diaspora.present? - if @orga.diaspora.present?
%dt.diaspora< %dt.diaspora<
= Orga.human_attribute_name :diaspora = Orga.human_attribute_name :diaspora