summaryrefslogtreecommitdiff
path: root/app/views/layouts/snippets.html.haml
blob: 6cc53ba3342a7e7ed507a5416998fde8187fe3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
- 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"