]> source.dussan.org Git - redmine.git/commitdiff
place the '.' on the previous line of the method call at app/models/project.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Dec 2020 13:09:41 +0000 (13:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Dec 2020 13:09:41 +0000 (13:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20653 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index aef28744b3de0c3745bdbd5285be10fdc4cf674d..a3db05f94b406ef4415438160f73abaed700d6b0 100644 (file)
@@ -318,8 +318,8 @@ class Project < ActiveRecord::Base
   def commit_logtime_activity
     activity_id = Setting.commit_logtime_activity_id.to_i
     if activity_id > 0
-      activities
-        .find_by('id = ? OR parent_id = ?', activity_id, activity_id)
+      activities.
+        find_by('id = ? OR parent_id = ?', activity_id, activity_id)
     end
   end