From 466a5bd3a832bbe0d46ee496d62f6a9f37783c3c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 22 Nov 2019 14:54:54 +0000 Subject: [PATCH] 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 --- app/models/journal.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5