view refactoring

This commit is contained in:
gitlabhq 2011-11-02 11:21:17 -04:00
parent 5e12f10c14
commit 5fb1b9ffe3
15 changed files with 67 additions and 20 deletions

View file

@ -1,5 +0,0 @@
%div.top_project_menu
%span= link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
%span= link_to "Password", profile_password_path, :style => "width:70px;", :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
%span= link_to "Keys", keys_path, :class => controller.controller_name == "keys" ? "current" : nil