Changes the representation of journal details in issue API.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4483 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-12-10 12:22:37 +00:00
1 parent 252e4983fb
commit ab6a93b029
2 files changed
+38 -1

No files matched your search

+4 -1
View File
@@ -50,7 +50,10 @@ api.issue do
api.notes journal.notes
api.array :details do
journal.details.each do |detail|
api.detail :property => detail.property, :name => detail.prop_key, :old => detail.old_value, :new => detail.value
api.detail :property => detail.property, :name => detail.prop_key do
api.old_value detail.old_value
api.new_value detail.value
end
end
end
end