Update the Issue#show.api to new journals type

pull/351/head
Felix Schäfer 14 years ago
parent 9ca203beae
commit d4adcae569
  1. 6
      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

Loading…
Cancel
Save