summaryrefslogtreecommitdiff
path: root/app/views/layouts/project.html.haml
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-01 08:50:59 +0000
committerPhil Hughes <me@iamphill.com>2017-08-01 08:50:59 +0000
commit423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch)
tree733b732407f6f682edd875e3915af5e638cfce7d /app/views/layouts/project.html.haml
parent5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff)
downloadgitlab-ce-423d31a300370c9c0acd9e8faae4d7bda2ac7d61.tar.gz
Inline script cleanup globals and easy
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r--app/views/layouts/project.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
index 99adb83cd1f..54d56e9b873 100644
--- a/app/views/layouts/project.html.haml
+++ b/app/views/layouts/project.html.haml
@@ -10,6 +10,7 @@
- content_for :project_javascripts do
- project = @target_project || @project
- if current_user
+ -# haml-lint:disable InlineJavaScript
:javascript
window.uploads_path = "#{project_uploads_path(project)}";