Commit b565cd19 authored by Valery Sizov's avatar Valery Sizov

Wiki: fixed main menu

parent 40ce6c91
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment