Merge pull request #2158 from betagouv/return-of-the-xray

In dev env, load xray
This commit is contained in:
Pierre de La Morinerie 2018-06-27 14:41:17 +02:00 committed by GitHub
commit 0d85997eca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,9 @@
= stylesheet_link_tag "new_design/new_application", media: "all", "data-turbolinks-track": "reload"
= stylesheet_link_tag "new_design/print", media: "print", "data-turbolinks-track": true
- if Rails.env.development?
= stylesheet_link_tag :xray
%body
.page-wrapper
= render partial: "layouts/support_navigator_banner"
@ -35,6 +38,10 @@
= render partial: "layouts/mailjet_newsletter"
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false
- if Rails.env.development?
= javascript_include_tag :xray
= yield :charts_js
- if Rails.env == "test"
%script{ type: "text/javascript" }