changeset 943:aa5332ba7874

Merge from branch "live"
author Chris Cannam
date Wed, 11 Jul 2012 15:44:51 +0100
parents 1affbc7f4b30 (current diff) bb4f99a30aee (diff)
children 97a00e2e145d
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/sys_controller.rb	Wed Jul 11 14:35:31 2012 +0100
+++ b/app/controllers/sys_controller.rb	Wed Jul 11 15:44:51 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