summaryrefslogtreecommitdiff
path: root/app/views/layouts/project.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r--app/views/layouts/project.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
index 62e5431e290..2df502d2899 100644
--- a/app/views/layouts/project.html.haml
+++ b/app/views/layouts/project.html.haml
@@ -10,7 +10,7 @@
- content_for :project_javascripts do
- project = @target_project || @project
- if current_user
- = javascript_tag nonce: true do
+ = javascript_tag do
:plain
window.uploads_path = "#{project_uploads_path(project)}";