]> source.dussan.org Git - redmine.git/commitdiff
Adds journal created_on attribute to issue API (#7111).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 14 Dec 2010 19:03:17 +0000 (19:03 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 14 Dec 2010 19:03:17 +0000 (19:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4512 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/show.api.rsb

index 432e313278439a4234290c3e5419e069aa17a120..a6461ff83e6c3f365b436033369c03fca34894b5 100644 (file)
@@ -46,6 +46,7 @@ api.issue do
       api.journal :id => journal.id do
         api.user(:id => journal.user_id, :name => journal.user.name) unless journal.user.nil?
         api.notes journal.notes
+        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