diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml index 06b16fdcb9c5e976f0c0beaa9423aee8771861a8..54cfd2b079d0bf27e2381a55d370bda372e577a5 100644 --- a/app/views/layouts/_project_menu.html.haml +++ b/app/views/layouts/_project_menu.html.haml @@ -16,7 +16,7 @@ - if @project.merge_requests_enabled = link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do Merge Requests - %span.count= @project.issues.opened.count + %span.count= @project.merge_requests.opened.count - if @project.wall_enabled = link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do