update for site construction

This commit is contained in:
harrybomrah committed 2017-11-30 17:28:35 +08:00
1 parent 07d75f8d53
commit 45f5c3275c
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ class SitePanelApiController < ApplicationController
list = SiteConstruct.where(:server_type => type, :constructed => false)
string = ""
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
render :text => string
end