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

app/models/time_entry.rb

index eed84dc1b0986a1095596a5a9e74bebecef1fbbd..ccf8b4461dbdc32555f750cc106cb545e8093728 100644 (file)
@@ -45,7 +45,7 @@ class TimeEntry < ActiveRecord::Base
   )
   acts_as_activity_provider :timestamp => "#{table_name}.created_on",
                             :author_key => :user_id,
-                            :scope => proc { joins(:project).preload(:project) }
+                            :scope => proc {joins(:project).preload(:project)}
 
   validates_presence_of :author_id, :user_id, :activity_id, :project_id, :hours, :spent_on
   validates_presence_of :issue_id, :if => lambda {Setting.timelog_required_fields.include?('issue_id')}