Commit b565cd1972b32071420c51004ba78b6c22cb5742
1 parent
40ce6c91
Exists in
master
and in
4 other branches
Wiki: fixed main menu
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/layouts/_project_menu.html.haml
... | ... | @@ -21,5 +21,5 @@ |
21 | 21 | Wall |
22 | 22 | |
23 | 23 | - if @project.wiki_enabled |
24 | - = link_to project_wiki_path(@project, :index), :class => current_page?(:controller => "projects", :action => "wiki", :id => @project) ? "current" : nil do | |
24 | + = link_to project_wiki_path(@project, :index), :class => (controller.controller_name == "wikis") ? "current" : nil do | |
25 | 25 | Wiki | ... | ... |