update for site construction
This commit is contained in:
parent
07d75f8d53
commit
45f5c3275c
|
@ -15,7 +15,7 @@ class SitePanelApiController < ApplicationController
|
||||||
list = SiteConstruct.where(:server_type => type, :constructed => false)
|
list = SiteConstruct.where(:server_type => type, :constructed => false)
|
||||||
string = ""
|
string = ""
|
||||||
list.each do |entry|
|
list.each do |entry|
|
||||||
string = string + "#{entry.server_type},#{entry.site_name},#{entry.domain_name},#{entry.port},#{entry.db_name},#{entry.path}\n"
|
string = string + "#{entry.server_type},#{entry.domain_name},#{entry.port},#{entry.db_name},#{entry.path},#{entry.site_name}\n"
|
||||||
end
|
end
|
||||||
render :text => string
|
render :text => string
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue