Disable turbolinks for links to Stats pages

This is a workaround for #350
This commit is contained in:
Nicolas Bouilleaud 2019-09-23 14:25:04 +02:00
parent 346fccc000
commit 00b1aa0ea1
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
%li.footer-link
= link_to "Nouveautés", "https://github.com/betagouv/demarches-simplifiees.fr/releases", :class => "footer-link"
%li.footer-link
= link_to "Statistiques", stats_path, :class => "footer-link"
= link_to "Statistiques", stats_path, :class => "footer-link", data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350
%li.footer-link
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
%li.footer-link