Merge pull request #200 from AyuntamientoMadrid/locale-switch-turbolinks-166

disable turbolinks in locale switcher. fixes #166
This commit is contained in:
Juanjo Bazán
2015-08-19 18:00:35 +02:00

View File

@@ -6,7 +6,7 @@
<%= t("layouts.header.language") %> <%= t("layouts.header.language") %>
[ [
<% available_locales_to_switch.each do |locale| %> <% available_locales_to_switch.each do |locale| %>
<%= link_to(locale, params.merge(locale: locale), id: "locale-link-#{locale}") %> <%= link_to(locale, params.merge(locale: locale), id: "locale-link-#{locale}", data: { no_turbolink: true }) %>
<% end %> <% end %>
] ]
</div> </div>