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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
350 B
Plaintext
Raw Normal View History

- page_title _("Snippets")
- header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
2017-05-03 08:48:01 +00:00
- content_for :page_specific_javascripts do
- if snippets_upload_path
= javascript_tag do
:plain
window.uploads_path = "#{snippets_upload_path}";
2017-05-03 08:48:01 +00:00
= render template: "layouts/application"