summaryrefslogtreecommitdiffstats
path: root/app/models/time_entry_import.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-15 12:36:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-15 12:36:54 +0000
commit5a4d12ceede2b3a2b0e86055183bf71dc38f22f2 (patch)
treef579b4dd26d5f65f411bb6d2eac80594d60939ef /app/models/time_entry_import.rb
parent3873964150c7c10604e80f852dee7ce34efbaade (diff)
downloadredmine-5a4d12ceede2b3a2b0e86055183bf71dc38f22f2.tar.gz
redmine-5a4d12ceede2b3a2b0e86055183bf71dc38f22f2.zip
remove spaces inside {} of app/models/time_entry_import.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20384 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry_import.rb')
-rw-r--r--app/models/time_entry_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry_import.rb b/app/models/time_entry_import.rb
index e8681fc02..a9e94e0d4 100644
--- a/app/models/time_entry_import.rb
+++ b/app/models/time_entry_import.rb
@@ -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