diff options
author | Alex Braha Stoll <alexbrahastoll@gmail.com> | 2016-12-13 07:29:12 +0300 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-03-10 15:04:19 +0300 |
commit | 50a8f16e165d45bf6b518c0e250e1f5a360a6d3f (patch) | |
tree | 750a23b4089a654453c612a79e595fd701c12c70 /app/controllers/dashboard/milestones_controller.rb | |
parent | 81ad61113112c49704cfe24b8e47479976422e60 (diff) |
Add count badges to both dashboard and group milestones
Diffstat (limited to 'app/controllers/dashboard/milestones_controller.rb')
-rw-r--r-- | app/controllers/dashboard/milestones_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard/milestones_controller.rb b/app/controllers/dashboard/milestones_controller.rb index 7f506db583f..df528d10f6e 100644 --- a/app/controllers/dashboard/milestones_controller.rb +++ b/app/controllers/dashboard/milestones_controller.rb @@ -5,6 +5,7 @@ class Dashboard::MilestonesController < Dashboard::ApplicationController def index respond_to do |format| format.html do + @milestone_states = GlobalMilestone.states_count(@projects) @milestones = Kaminari.paginate_array(milestones).page(params[:page]) end format.json do |