Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-01 11:50:59 +0300
committerPhil Hughes <me@iamphill.com>2017-08-01 11:50:59 +0300
commit423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch)
tree733b732407f6f682edd875e3915af5e638cfce7d /app/views/layouts/snippets.html.haml
parent5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff)
Inline script cleanup globals and easy
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r--app/views/layouts/snippets.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml
index 57971205e0e..849075a0ba5 100644
--- a/app/views/layouts/snippets.html.haml
+++ b/app/views/layouts/snippets.html.haml
@@ -2,6 +2,7 @@
- content_for :page_specific_javascripts do
- if @snippet && current_user
+ -# haml-lint:disable InlineJavaScript
:javascript
window.uploads_path = "#{upload_path('personal_snippet', id: @snippet.id)}";