From: Go MAEDA Date: Thu, 4 Feb 2021 06:59:36 +0000 (+0000) Subject: Fix indent broken by r20736. X-Git-Tag: 4.2.0~95 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=252c28fa269e740402e6b3c4cc1a2230190fb64c;p=redmine.git Fix indent broken by r20736. git-svn-id: http://svn.redmine.org/redmine/trunk@20737 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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