From 90ba2d4bfb865b57970e66c3422fe53e5d6d3a22 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Wed, 3 Nov 2010 17:30:07 +0100 Subject: [PATCH] update xml builder to use the journals instead of journal details --- app/views/issues/show.xml.builder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/issues/show.xml.builder b/app/views/issues/show.xml.builder index bd3448cc..62ccb50c 100644 --- a/app/views/issues/show.xml.builder +++ b/app/views/issues/show.xml.builder @@ -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