From: Toshi MARUYAMA Date: Thu, 17 Dec 2020 13:09:41 +0000 (+0000) Subject: place the '.' on the previous line of the method call at app/models/project.rb X-Git-Tag: 4.2.0~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee877f6c2ee2810454062f9e27eb0534260476ea;p=redmine.git place the '.' on the previous line of the method call at app/models/project.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20653 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/project.rb b/app/models/project.rb index aef28744b..a3db05f94 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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