Wiki: fixed main menu
This commit is contained in:
parent
40ce6c9131
commit
b565cd1972
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue