]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of SysController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 26 Sep 2020 15:02:26 +0000 (15:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 26 Sep 2020 15:02:26 +0000 (15:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20086 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/sys_controller.rb

index 89a3295441dfdc84fcd75ff42d99b0a5297ef6d5..9d42154901310039dee98d7e709da815678fd9bd 100644 (file)
@@ -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