Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Rowden <hello@danrowden.com>2016-07-26 00:23:27 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-09-07 23:27:14 +0300
commitda7c14442cc97e1ecd4c34ab2ef9bf2662ea241d (patch)
tree8a4ac4a1de59de10e9b1721a9399a10d992529c8 /app/views/shared/_milestones_filter.html.haml
parentc1f508b0b10965f9827a9e6bd564e9c0fd00f595 (diff)
Updated milestone count helper plus tests
Diffstat (limited to 'app/views/shared/_milestones_filter.html.haml')
-rw-r--r--app/views/shared/_milestones_filter.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_milestones_filter.html.haml b/app/views/shared/_milestones_filter.html.haml
index a2b17a94f80..4167f03da64 100644
--- a/app/views/shared/_milestones_filter.html.haml
+++ b/app/views/shared/_milestones_filter.html.haml
@@ -1,4 +1,4 @@
-- counts = milestone_counts(project: @project)
+- counts = milestone_counts(@project.milestones)
%ul.nav-links
%li{class: ("active" if params[:state].blank? || params[:state] == 'opened')}