mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 23:11: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:
parent
0095bbbd72
commit
466a5bd3a8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user