Adds parent project to /projects/:id API (#8229).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6203 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
389c7779e6
commit
95f332af5a
|
@ -4,6 +4,7 @@ api.project do
|
|||
api.identifier @project.identifier
|
||||
api.description @project.description
|
||||
api.homepage @project.homepage
|
||||
api.parent(:id => @project.parent_id, :name => @project.parent.name) unless @project.parent.nil?
|
||||
|
||||
render_api_custom_values @project.visible_custom_field_values, api
|
||||
|
||||
|
|
Loading…
Reference in New Issue