Switch to side-by-side view
--- a/Allura/allura/controllers/rest.py +++ b/Allura/allura/controllers/rest.py @@ -281,8 +281,4 @@ @expose('json:') def index(self, **kw): - return dict( - name=c.project.shortname, - tools=[dict(name=t.tool_name, mount_point=t.options.mount_point, label=t.options.mount_label) - for t in c.project.app_configs if h.has_access(t, 'read')] - ) + return c.project.__json__()