diff options
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/show.api.rsb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/show.api.rsb b/app/views/projects/show.api.rsb index 240b18883..7ad4ecc30 100644 --- a/app/views/projects/show.api.rsb +++ b/app/views/projects/show.api.rsb @@ -8,6 +8,8 @@ api.project do api.status @project.status api.is_public @project.is_public? api.inherit_members @project.inherit_members? + api.default_version(:id => @project.default_version.id, :name => @project.default_version.name) if @project.default_version + api.default_assignee(:id => @project.project.default_assigned_to.id, :name => @project.project.default_assigned_to.name) if @project.default_assigned_to render_api_custom_values @project.visible_custom_field_values, api render_api_includes(@project, api) |