summaryrefslogtreecommitdiff
path: root/app/views/layouts/snippets.html.haml
blob: 841b2a5e79cf16a7fb34196c4619efe1ccc5a7ef (plain)
1
2
3
4
5
6
7
8
9
10
- header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)

- content_for :page_specific_javascripts do
  - if snippets_upload_path
    -# haml-lint:disable InlineJavaScript
    :javascript
      window.uploads_path = "#{snippets_upload_path}";

= render template: "layouts/application"