summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/sys_controller.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/controllers/sys_controller.rb b/app/controllers/sys_controller.rb
index 0644fed84..47728b936 100644
--- a/app/controllers/sys_controller.rb
+++ b/app/controllers/sys_controller.rb
@@ -19,9 +19,16 @@ class SysController < ActionController::Base
before_filter :check_enabled
def projects
- p = Project.active.has_module(:repository).find(:all, :include => :repository, :order => "#{Project.table_name}.identifier")
+ p = Project.active.has_module(:repository).find(
+ :all,
+ :include => :repository,
+ :order => "#{Project.table_name}.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]}}
+ )
end
def create_project_repository