Fix MR count for group scope

This commit is contained in:
Dmitriy Zaporozhets 2012-12-24 21:27:12 +02:00
parent 45b6103997
commit 19cb29e448

View file

@ -15,7 +15,7 @@
= nav_link(path: 'groups#merge_requests') do
= link_to merge_requests_group_path(@group) do
Merge Requests
%span.count= current_user.cared_merge_requests.of_group(@group).count
%span.count= current_user.cared_merge_requests.opened.of_group(@group).count
= nav_link(path: 'groups#search') do
= link_to "Search", search_group_path(@group)
= nav_link(path: 'groups#people') do