This commit is contained in:
Marcel Pociot
2020-04-27 10:05:42 +02:00
parent 28c4009dff
commit 054e5b6a86
20 changed files with 737 additions and 461 deletions

View File

@@ -26,8 +26,14 @@ class ListSitesController extends PostController
public function handle(Request $request, ConnectionInterface $httpConnection)
{
try {
$sites = $this->getView('server.sites.index', ['sites' => $this->connectionManager->getConnections()]);
} catch (\Exception $e) {
dump($e->getMessage());
}
$httpConnection->send(
respond_html($this->getView('server.sites.index', ['sites' => $this->connectionManager->getConnections()]))
respond_html($sites)
);
}
}