Mercurial > hg > soundsoftware-site
diff app/controllers/sys_controller.rb @ 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 | 5e80956cc792 |
children | bb32da3bea34 |
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