Initial work on contact create

This commit is contained in:
Pinga 2023-09-01 16:42:37 +03:00
parent 4b99f2ccfc
commit 0853030237
5 changed files with 164 additions and 12 deletions

View file

@ -43,7 +43,8 @@ $app->group('', function ($route) {
$route->map(['GET', 'POST'], '/domain/check', DomainsController::class . ':check')->setName('domaincheck');
$route->get('/contacts', ContactsController::class .':view')->setName('contacts');
$route->map(['GET', 'POST'], '/contact/create', ContactsController::class . ':create')->setName('contactcreate');
$route->get('/hosts', HostsController::class .':view')->setName('hosts');
$route->map(['GET', 'POST'], '/host/create', HostsController::class . ':create')->setName('hostcreate');