lil restyle

This commit is contained in:
Dmitriy Zaporozhets 2012-01-11 09:35:21 +02:00
parent c66bc99fb7
commit c8b955a44b
15 changed files with 71 additions and 61 deletions

View file

@ -28,10 +28,8 @@ module ProjectsHelper
end
def tree_tab_class
current_page?(:controller => "refs",
:action => "tree",
:project_id => @project,
:id => @ref || @project.root_ref ) ? "current" : nil
controller.controller_name == "refs" ?
"current" : nil
end
def repository_tab_class