From d4adcae569cf44c085ef68f8d98ac4b0fbfd5838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Thu, 21 Apr 2011 11:44:55 +0200 Subject: [PATCH] Update the Issue#show.api to new journals type --- app/views/issues/show.api.rsb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/issues/show.api.rsb b/app/views/issues/show.api.rsb index 170aeb3755..40de41fb9c 100644 --- a/app/views/issues/show.api.rsb +++ b/app/views/issues/show.api.rsb @@ -49,9 +49,9 @@ api.issue do api.created_on journal.created_on api.array :details do journal.details.each do |detail| - api.detail :property => detail.property, :name => detail.prop_key do - api.old_value detail.old_value - api.new_value detail.value + api.detail :property => journal.property(detail), :name => journal.prop_key(detail) do + api.old_value journal.old_value(detail) + api.new_value journal.value(detail) end end end