summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/index.api.rsb1
-rw-r--r--app/views/projects/show.api.rsb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/index.api.rsb b/app/views/projects/index.api.rsb
index d309af241..03c7c0c77 100644
--- a/app/views/projects/index.api.rsb
+++ b/app/views/projects/index.api.rsb
@@ -8,6 +8,7 @@ api.array :projects, api_meta(:total_count => @project_count, :offset => @offset
api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible?
api.status project.status
api.is_public project.is_public?
+ api.inherit_members project.inherit_members?
render_api_custom_values project.visible_custom_field_values, api
render_api_includes(project, api)
diff --git a/app/views/projects/show.api.rsb b/app/views/projects/show.api.rsb
index 6e1958a34..240b18883 100644
--- a/app/views/projects/show.api.rsb
+++ b/app/views/projects/show.api.rsb
@@ -7,6 +7,7 @@ api.project do
api.parent(:id => @project.parent.id, :name => @project.parent.name) if @project.parent && @project.parent.visible?
api.status @project.status
api.is_public @project.is_public?
+ api.inherit_members @project.inherit_members?
render_api_custom_values @project.visible_custom_field_values, api
render_api_includes(@project, api)