It improves performance in dashboard milestone index page by passing a hint to "IssuesFinder". "IssuesFinder" generates a more performant query when it is limited to authorized projects for user. In the dashboard we already limit the projects to these authorized for user (see "Dashboard::ApplicationController#projects"), so we can safely pass this option to "IssuesFinder". |
||
|---|---|---|
| .. | ||
| application_controller.rb | ||
| groups_controller.rb | ||
| labels_controller.rb | ||
| milestones_controller.rb | ||
| projects_controller.rb | ||
| snippets_controller.rb | ||
| todos_controller.rb | ||