Projects page as dashboard. Old dashboard removed

This commit is contained in:
Dmitriy Zaporozhets 2012-04-14 11:20:45 +03:00
parent 5f31989a05
commit 95fde9bd7a
13 changed files with 37 additions and 208 deletions

View file

@ -1,6 +1,5 @@
%nav.main_menu
= render "layouts/const_menu_links"
= link_to "Projects", projects_path, :class => "#{"current" if current_page?(projects_path)}"
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
Issues
%span.count= current_user.assigned_issues.opened.count

View file

@ -1 +1 @@
= link_to "Home", root_path, :class => "home #{"current" if current_page?(dashboard_path) || current_page?(root_path)}", :title => "Home"
= link_to "Home", root_path, :class => "home #{"current" if current_page?(projects_path) || current_page?(root_path)}", :title => "Home"