gitlab-org--gitlab-foss/app/controllers/dashboard
Sean McGivern acf49c6d89 Fix access to the final page of todos
The todos page limit is 20, and both that and a user's pending todo count are
integers. Using integer division means that the result's floor will be taken,
defeating the point of the later call to `#ceil`.

So we need to convert one side of the division to a float first, otherwise the
last page won't be treated as available.
2017-11-09 13:13:48 +00:00
..
application_controller.rb
groups_controller.rb Fixed default group sort option 2017-10-06 16:07:09 +01:00
labels_controller.rb Fix dashboard labels dropdown 2017-07-07 14:35:16 +01:00
milestones_controller.rb Fixed dashboard milestone tabs not loading 2017-06-09 09:57:42 +01:00
projects_controller.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
snippets_controller.rb Merge branch 'snippets-finder-visibility' into 'security' 2017-05-10 16:48:18 +02:00
todos_controller.rb Fix access to the final page of todos 2017-11-09 13:13:48 +00:00