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

No files matched your search

@@ -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)
);
}
}