Commit 313d96e42b313a0af5ab50fa233bf43e27118b3f
1 parent
635d3e09
Exists in
master
and in
4 other branches
fixed mr counter for main menu
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/layouts/_project_menu.html.haml
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | - if @project.merge_requests_enabled |
17 | 17 | = link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do |
18 | 18 | Merge Requests |
19 | - %span.count= @project.issues.opened.count | |
19 | + %span.count= @project.merge_requests.opened.count | |
20 | 20 | |
21 | 21 | - if @project.wall_enabled |
22 | 22 | = link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do | ... | ... |