Orga's links now using the proper name_as_tag tranformation

This commit is contained in:
echarp 2016-04-24 20:35:21 +02:00
parent 1d4af30944
commit 8b7838959b

View File

@ -20,27 +20,27 @@
%em.fa.fa-li.fa-arrow-left %em.fa.fa-li.fa-arrow-left
= Orga.model_name.human.pluralize = Orga.model_name.human.pluralize
%li %li
= link_to events_path tag: @orga.name do = link_to events_path tag: @orga.name_as_tag do
%em.fa.fa-li.fa-calendar %em.fa.fa-li.fa-calendar
Agenda Agenda
%li %li
= link_to events_path format: :rss, tag: @orga.name do = link_to events_path format: :rss, tag: @orga.name_as_tag do
%em.fa.fa-li.fa-rss %em.fa.fa-li.fa-rss
RSS RSS
%li %li
= link_to events_path format: :ics, tag: @orga.name do = link_to events_path format: :ics, tag: @orga.name_as_tag do
%em.fa.fa-li.fa-th-list %em.fa.fa-li.fa-th-list
iCal iCal
%li %li
= link_to maps_path tag: @orga.name do = link_to maps_path tag: @orga.name_as_tag do
%em.fa.fa-li.fa-map-marker %em.fa.fa-li.fa-map-marker
OpenStreetMap OpenStreetMap
%li %li
= link_to maps_path format: :json, tag: @orga.name do = link_to maps_path format: :json, tag: @orga.name_as_tag do
%em.fa.fa-li.fa-dot-circle-o %em.fa.fa-li.fa-dot-circle-o
GeoJSON GeoJSON