Adds closed_on to issues API responses (#824).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11411 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-02-16 15:32:44 +00:00
parent 9dd8988638
commit 7a1af68178
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ api.array :issues, api_meta(:total_count => @issue_count, :offset => @offset, :l
api.created_on issue.created_on
api.updated_on issue.updated_on
api.closed_on issue.closed_on
api.array :relations do
issue.relations.each do |relation|

View File

@ -22,6 +22,7 @@ api.issue do
api.created_on @issue.created_on
api.updated_on @issue.updated_on
api.closed_on @issue.closed_on
render_api_issue_children(@issue, api) if include_in_api_response?('children')