diff options
author | Valery Sizov <vsv2711@gmail.com> | 2012-02-19 21:16:29 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2012-02-19 21:16:29 +0200 |
commit | b565cd1972b32071420c51004ba78b6c22cb5742 (patch) | |
tree | 550cb2fa0aacc7f97bbfa90f67444c025338fa89 | |
parent | 40ce6c91311e0dbfdf92bff5b2ef74a2b3361de4 (diff) | |
download | gitlab-ce-b565cd1972b32071420c51004ba78b6c22cb5742.tar.gz |
Wiki: fixed main menu
-rw-r--r-- | app/views/layouts/_project_menu.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml index 6a4a3156c07..6c87bf153ce 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 |