Commit b565cd1972b32071420c51004ba78b6c22cb5742

Authored by Valery Sizov
1 parent 40ce6c91

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,5 +21,5 @@
21 Wall 21 Wall
22 22
23 - if @project.wiki_enabled 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 Wiki 25 Wiki