diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-08-01 11:50:59 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-01 11:50:59 +0300 |
commit | 423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch) | |
tree | 733b732407f6f682edd875e3915af5e638cfce7d /app/views/layouts/snippets.html.haml | |
parent | 5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff) |
Inline script cleanup globals and easy
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r-- | app/views/layouts/snippets.html.haml | 1 |
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)}"; |