From b565cd1972b32071420c51004ba78b6c22cb5742 Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Sun, 19 Feb 2012 21:16:29 +0200 Subject: [PATCH] Wiki: fixed main menu --- app/views/layouts/_project_menu.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml index 6a4a3156..6c87bf15 100644 --- a/app/views/layouts/_project_menu.html.haml +++ b/app/views/layouts/_project_menu.html.haml @@ -21,5 +21,5 @@ Wall - if @project.wiki_enabled - = link_to project_wiki_path(@project, :index), :class => current_page?(:controller => "projects", :action => "wiki", :id => @project) ? "current" : nil do + = link_to project_wiki_path(@project, :index), :class => (controller.controller_name == "wikis") ? "current" : nil do Wiki