gitlab-org--gitlab-foss/app/views/layouts/snippets.html.haml
Dmitriy Zaporozhets 0145e8ea21
Set page title based on content in dashboard area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-03 21:53:55 +02:00

8 lines
229 B
Text

- page_title 'Snippets'
- if current_user
- header_title "Snippets", user_snippets_path(current_user)
- else
- header_title 'Snippets', snippets_path
- sidebar "dashboard"
= render template: "layouts/application"