diff options
Diffstat (limited to 'lib/redmine/project_jump_box.rb')
-rw-r--r-- | lib/redmine/project_jump_box.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/project_jump_box.rb b/lib/redmine/project_jump_box.rb index bf0123771..b8f332008 100644 --- a/lib/redmine/project_jump_box.rb +++ b/lib/redmine/project_jump_box.rb @@ -31,9 +31,9 @@ module Redmine def recently_used_projects project_ids = recently_used_project_ids Project.where(id: project_ids). - index_by(&:id). - values_at(*project_ids). # sort according to stored order - compact + index_by(&:id). + values_at(*project_ids). # sort according to stored order + compact end def bookmarked_projects |