From: Toshi MARUYAMA Date: Fri, 22 Nov 2019 14:54:54 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/journal.rb X-Git-Tag: 4.2.0~1469 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=466a5bd3a832bbe0d46ee496d62f6a9f37783c3c;p=redmine.git cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/journal.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19171 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/journal.rb b/app/models/journal.rb index b6468b629..f2283cfc3 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -229,6 +229,7 @@ class Journal < ActiveRecord::Base before = @attributes_before_change[attribute] after = journalized.send(attribute) next if before == after || (before.blank? && after.blank?) + add_attribute_detail(attribute, before, after) end end