summaryrefslogtreecommitdiff
path: root/app/views/layouts/snippets.html.haml
blob: 57971205e0e92b6624d0436bb873e56e04417776 (plain)
1
2
3
4
5
6
7
8
- header_title  "Snippets", snippets_path

- content_for :page_specific_javascripts do
  - if @snippet && current_user
    :javascript
      window.uploads_path = "#{upload_path('personal_snippet', id: @snippet.id)}";

= render template: "layouts/application"