mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
wip
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user