# HG changeset patch # User Chris Cannam # Date 1342017900 -3600 # Node ID bb4f99a30aeef3b3f23b0e5dd0eb55fe44566410 # Parent 6d4cafba946859675e41a7919d6a933316513406 Ensure external repo details are passed through WS interface diff -r 6d4cafba9468 -r bb4f99a30aee app/controllers/sys_controller.rb --- 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