Wiki: fixed main menu

This commit is contained in:
Valery Sizov 2012-02-19 21:16:29 +02:00
parent 40ce6c9131
commit b565cd1972

View file

@ -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