5d785457db
- 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.
16 lines
400 B
Text
16 lines
400 B
Text
- page_title "Projects"
|
|
- header_title "Projects", root_path
|
|
|
|
- if current_user
|
|
= render 'dashboard/projects_head'
|
|
- else
|
|
= render 'explore/head'
|
|
|
|
.explore-trending-block
|
|
.gray-content-block
|
|
.pull-right
|
|
= render 'explore/projects/dropdown'
|
|
.oneline
|
|
%i.fa.fa-comments-o
|
|
See most discussed projects for last month
|
|
= render 'projects', projects: @trending_projects
|