forked from jasder/forgeplus
This commit is contained in:
parent
cf27fe8839
commit
fe4aefa3b6
|
@ -19,7 +19,7 @@ class Journal < ApplicationRecord
|
||||||
details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value)
|
details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value)
|
||||||
if details.size > 0
|
if details.size > 0
|
||||||
details.each do |de|
|
details.each do |de|
|
||||||
unless de[1] == "description"
|
unless de[1].to_s == "description"
|
||||||
if de[0] == "attr"
|
if de[0] == "attr"
|
||||||
content = ""
|
content = ""
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue