From c9d6df13f997b9a6060a5a2d3df994dff90bf22b Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 1 Mar 2017 14:30:53 +0100 Subject: [PATCH] disable space projects --- app/views/api/spaces/show.json.jbuilder | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/api/spaces/show.json.jbuilder b/app/views/api/spaces/show.json.jbuilder index 2e09707ad..0722a73fe 100644 --- a/app/views/api/spaces/show.json.jbuilder +++ b/app/views/api/spaces/show.json.jbuilder @@ -5,6 +5,8 @@ json.space_files_attributes @space.space_files do |f| json.attachment f.attachment_identifier json.attachment_url f.attachment_url end -json.space_projects @space.projects do |p| - json.extract! p, :slug, :name -end \ No newline at end of file +# Unused for the moment. May be used to show a list of projects +# using the space in the space_show screen +# json.space_projects @space.projects do |p| +# json.extract! p, :slug, :name +# end \ No newline at end of file