diff options
author | Dan Rowden <hello@danrowden.com> | 2016-07-26 00:23:27 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-09-07 23:27:14 +0300 |
commit | da7c14442cc97e1ecd4c34ab2ef9bf2662ea241d (patch) | |
tree | 8a4ac4a1de59de10e9b1721a9399a10d992529c8 /app/views/shared/_milestones_filter.html.haml | |
parent | c1f508b0b10965f9827a9e6bd564e9c0fd00f595 (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.haml | 2 |
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')} |