update xml builder to use the journals instead of journal details

This commit is contained in:
Tim Felgentreff 2010-11-03 17:30:07 +01:00
parent 40494cbe6b
commit 90ba2d4bfb
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ xml.issue do
xml.notes journal.notes
xml.details do
journal.details.each do |detail|
xml.detail :property => detail.property, :name => detail.prop_key, :old => detail.old_value, :new => detail.value
xml.detail :property => journal.property(detail), :name => journal.prop_key(detail),
:old => journal.old_value(detail), :new => journal.value(detail)
end
end
end