gitlab-org--gitlab-foss/app/views/explore/projects/index.html.haml
Douwe Maan 5d785457db Clean up overlap between dashboard and explore.
- Split up SnippetsController into separate dashboard and explore sections.
- Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
2015-09-08 14:49:20 +01:00

12 lines
283 B
Text

- page_title "Projects"
- header_title "Projects", root_path
- if current_user
= render 'dashboard/projects_head'
- else
= render 'explore/head'
.gray-content-block.clearfix
= render 'filter'
= render 'projects', projects: @projects
= paginate @projects, theme: "gitlab"