Mercurial > hg > soundsoftware-site
changeset 942:bb4f99a30aee live
Ensure external repo details are passed through WS interface
author | Chris Cannam |
---|---|
date | Wed, 11 Jul 2012 15:45:00 +0100 |
parents | 6d4cafba9468 |
children | aa5332ba7874 42e2437766c2 |
files | app/controllers/sys_controller.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controllers/sys_controller.rb Wed Jul 11 14:36:11 2012 +0100 +++ b/app/controllers/sys_controller.rb Wed Jul 11 15:45:00 2012 +0100 @@ -21,7 +21,7 @@ def projects p = Project.active.has_module(:repository).find(:all, :include => :repository, :order => 'identifier') # extra_info attribute from repository breaks activeresource client - render :xml => p.to_xml(:only => [:id, :identifier, :name, :is_public, :status], :include => {:repository => {:only => [:id, :url]}}) + render :xml => p.to_xml(:only => [:id, :identifier, :name, :is_public, :status], :include => {:repository => {:only => [:id, :url, :is_external, :external_url]}}) end def create_project_repository