mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
fix source indent of SysController
git-svn-id: http://svn.redmine.org/redmine/trunk@20086 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
70e470fd9b
commit
282a19529d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user