engine/app/views/layouts/good_job/base.html.erb in good_job-2.7.3 vs engine/app/views/layouts/good_job/base.html.erb in good_job-2.7.4
- old
+ new
@@ -6,14 +6,14 @@
<%= csp_meta_tag %>
<%= stylesheet_link_tag bootstrap_path(format: :css, v: GoodJob::VERSION) %>
<%= stylesheet_link_tag style_path(format: :css, v: GoodJob::VERSION) %>
- <%= javascript_include_tag bootstrap_path(format: :js, v: GoodJob::VERSION) %>
- <%= javascript_include_tag chartjs_path(format: :js, v: GoodJob::VERSION) %>
- <%= javascript_include_tag scripts_path(format: :js, v: GoodJob::VERSION) %>
+ <%= javascript_include_tag bootstrap_path(format: :js, v: GoodJob::VERSION), nonce: true %>
+ <%= javascript_include_tag chartjs_path(format: :js, v: GoodJob::VERSION), nonce: true %>
+ <%= javascript_include_tag scripts_path(format: :js, v: GoodJob::VERSION), nonce: true %>
- <%= javascript_include_tag rails_ujs_path(format: :js, v: GoodJob::VERSION) %>
+ <%= javascript_include_tag rails_ujs_path(format: :js, v: GoodJob::VERSION), nonce: true %>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<%= link_to "GoodJob 👍", root_path, class: 'navbar-brand mb-0 h1' %>