gitlab-org--gitlab-foss/app/views/layouts/snippets.html.haml

10 lines
305 B
Text
Raw Normal View History

- header_title _("Snippets"), snippets_path
2017-05-03 04:48:01 -04:00
- content_for :page_specific_javascripts do
2017-05-03 11:26:49 -04:00
- if @snippet && current_user
2017-08-01 04:50:59 -04:00
-# haml-lint:disable InlineJavaScript
2017-05-03 04:48:01 -04:00
:javascript
2017-05-03 11:26:49 -04:00
window.uploads_path = "#{upload_path('personal_snippet', id: @snippet.id)}";
2017-05-03 04:48:01 -04:00
= render template: "layouts/application"