Turbolinks: do not reload application js on every page

This commit is contained in:
Simon Lehericey 2017-07-11 09:04:41 +02:00
parent 671ec231e7
commit b2e99dd755

View file

@ -35,7 +35,7 @@
= render partial: "layouts/mailjet_newsletter"
= render partial: "layouts/crisp"
= javascript_include_tag "new_design/application", "data-turbolinks-track": true
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false
= yield :charts_js
- if Rails.env == "test"
%script{ type: "text/javascript" }