changeset 954:42e2437766c2 live

Merge from branch "bug_505"
author Chris Cannam
date Wed, 29 Aug 2012 15:55:57 +0100
parents bb4f99a30aee (diff) ebfda4c68b7a (current diff)
children 97a00e2e145d fa2a1b6cda26 352539ac7b43
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/sys_controller.rb	Thu Aug 02 19:40:23 2012 +0100
+++ b/app/controllers/sys_controller.rb	Wed Aug 29 15:55:57 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