1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 07:21:12 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-22 14:54:54 +00:00
parent 0095bbbd72
commit 466a5bd3a8

View File

@ -229,6 +229,7 @@ class Journal < ActiveRecord::Base
before = @attributes_before_change[attribute] before = @attributes_before_change[attribute]
after = journalized.send(attribute) after = journalized.send(attribute)
next if before == after || (before.blank? && after.blank?) next if before == after || (before.blank? && after.blank?)
add_attribute_detail(attribute, before, after) add_attribute_detail(attribute, before, after)
end end
end end