From 282a19529dd56c58db8551daff0934fc3aec2f02 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 26 Sep 2020 15:02:26 +0000 Subject: [PATCH] fix source indent of SysController git-svn-id: http://svn.redmine.org/redmine/trunk@20086 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/sys_controller.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/controllers/sys_controller.rb b/app/controllers/sys_controller.rb index 89a329544..9d4215490 100644 --- a/app/controllers/sys_controller.rb +++ b/app/controllers/sys_controller.rb @@ -24,10 +24,9 @@ class SysController < ActionController::Base p = Project.active.has_module(:repository). order("#{Project.table_name}.identifier").preload(:repository).to_a # extra_info attribute from repository breaks activeresource client - render :json => p.to_json( - :only => [:id, :identifier, :name, :is_public, :status], - :include => {:repository => {:only => [:id, :url]}} - ) + render :json => + p.to_json(:only => [:id, :identifier, :name, :is_public, :status], + :include => {:repository => {:only => [:id, :url]}}) end def create_project_repository -- 2.39.5