gitlab-ce/app/controllers/dashboard
Sean McGivern 063b9edc77 Save a query on the todos index page
When there are no filters, we can get the total todos count from the cached
count on the user object, instead of performing a DB query. This query takes
about 80ms for me on GitLab.com.
2017-10-04 17:37:38 +01:00
..
application_controller.rb
groups_controller.rb
labels_controller.rb
milestones_controller.rb
projects_controller.rb
snippets_controller.rb
todos_controller.rb Save a query on the todos index page 2017-10-04 17:37:38 +01:00