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

9 lines
260 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-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"