Turbolinks: do not reload application js on every page
This commit is contained in:
parent
671ec231e7
commit
b2e99dd755
1 changed files with 1 additions and 1 deletions
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue