debian-mirror-gitlab/app/views/layouts/snippets.html.haml
2020-08-09 17:44:08 +05:30

11 lines
362 B
Text

- page_title _("Snippets")
- header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
- content_for :page_specific_javascripts do
- if snippets_upload_path
= javascript_tag nonce: true do
:plain
window.uploads_path = "#{snippets_upload_path}";
= render template: "layouts/application"