gitlab-org--gitlab-foss/app/views/layouts/snippets.html.haml
2017-08-01 08:50:59 +00:00

9 lines
302 B
Text

- header_title "Snippets", snippets_path
- 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)}";
= render template: "layouts/application"