update for site construction

This commit is contained in:
Harry Bomrah 2017-11-30 17:28:35 +08:00
parent 07d75f8d53
commit 45f5c3275c
1 changed files with 1 additions and 1 deletions

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