summaryrefslogtreecommitdiff
path: root/app/views/layouts/group.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/group.html.haml')
-rw-r--r--app/views/layouts/group.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/group.html.haml b/app/views/layouts/group.html.haml
index 1d40b78fa83..49de821f1c2 100644
--- a/app/views/layouts/group.html.haml
+++ b/app/views/layouts/group.html.haml
@@ -6,8 +6,8 @@
- content_for :page_specific_javascripts do
- if current_user
- -# haml-lint:disable InlineJavaScript
- :javascript
- window.uploads_path = "#{group_uploads_path(@group)}";
+ = javascript_tag nonce: true do
+ :plain
+ window.uploads_path = "#{group_uploads_path(@group)}";
= render template: "layouts/application"