Commit b565cd19 authored by Valery Sizov's avatar Valery Sizov
Browse files

Wiki: fixed main menu

parent 24ee0966b6a4
......@@ -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