]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of app/models/time_entry_import.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 15 Nov 2020 12:36:54 +0000 (12:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 15 Nov 2020 12:36:54 +0000 (12:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20384 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/time_entry_import.rb

index e8681fc024bf07d1e3ea25e953078b4b9ee5471c..a9e94e0d4bae2b9f5243ae36086110cb61fa8ccf 100644 (file)
@@ -56,7 +56,7 @@ class TimeEntryImport < Import
     users = []
     if project
       users = project.members.active.preload(:user)
-      users = users.map(&:user).select{ |u| u.allowed_to?(:log_time, project) }
+      users = users.map(&:user).select{|u| u.allowed_to?(:log_time, project)}
     end
     users << User.current if User.current.logged? && !users.include?(User.current)
     users