Merge pull request #4350 from betagouv/disable-turbolinks-for-stats
Disable turbolinks for links to Stats pages
This commit is contained in:
commit
d38bf7a993
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
%h1= procedure_libelle @procedure
|
||||
= link_to 'gestion des notifications', email_notifications_instructeur_procedure_path(@procedure), class: 'header-link'
|
||||
|
|
||||
= link_to 'statistiques', stats_instructeur_procedure_path(@procedure), class: 'header-link'
|
||||
= link_to 'statistiques', stats_instructeur_procedure_path(@procedure), class: 'header-link', data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350
|
||||
|
||||
|
||||
%ul.tabs
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
\-
|
||||
= link_to 'Nouveautés', 'https://github.com/betagouv/demarches-simplifiees.fr/releases', target: '_blank'
|
||||
\-
|
||||
= link_to 'Statistiques', stats_path
|
||||
= link_to 'Statistiques', stats_path, data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350
|
||||
\-
|
||||
= link_to 'CGU / Mentions légales', CGU_URL
|
||||
\-
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue