diff app/controllers/sys_controller.rb @ 1026:b42553f6df71 bibplugin_bibtex

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 13 Nov 2012 13:23:29 +0000
parents bb4f99a30aee
children bb32da3bea34
line wrap: on
line diff
--- a/app/controllers/sys_controller.rb	Mon Aug 06 12:33:23 2012 +0100
+++ b/app/controllers/sys_controller.rb	Tue Nov 13 13:23:29 2012 +0000
@@ -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