diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml
index 6a4a3156c0763d955fcbe75276f251cd9c99fe9f..6c87bf153cea18c2c972dcd4ca99e0a77e1e505f 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