Fix merge request count for milestone index

This commit is contained in:
randx 2012-10-29 23:50:35 +02:00
parent e705344daa
commit a8398e5124

View file

@ -18,4 +18,4 @@
- if milestone.merge_requests.any?
= link_to project_merge_requests_path(milestone.project, milestone_id: milestone.id), class: "btn very_small" do
%strong= pluralize milestone.issues.count, 'Merge Request'
%strong= pluralize milestone.merge_requests.count, 'Merge Request'