1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

remove spaces inside {} of lib/redmine/project_jump_box.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20463 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-21 13:52:47 +00:00
parent 104868faa7
commit a21ab3eaf9

View File

@ -44,7 +44,7 @@ module Redmine
return if project.blank? || project.id.blank?
id_array = recently_used_project_ids
id_array.reject!{ |i| i == project.id }
id_array.reject!{|i| i == project.id}
# we dont want bookmarks in the recently used list:
id_array.unshift(project.id) unless bookmark?(project)
self.recently_used_project_ids = id_array[0, recent_projects_count]