blob: ad566f262cf5516c79d1a3458fb871755bd5c76d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- page_title _("Snippets")
- header_title _("Your work"), root_path
- add_to_breadcrumbs _("Snippets"), dashboard_snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
- @left_sidebar = true
- if current_user
- nav "your_work"
- content_for :page_specific_javascripts do
- if snippets_upload_path
= javascript_tag do
:plain
window.uploads_path = "#{snippets_upload_path}";
= render template: "layouts/application"
|