mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-25 11:58:19 +02:00
Added view contact option
This commit is contained in:
parent
b91fa31bf3
commit
d262c6fbe9
4 changed files with 306 additions and 2 deletions
|
@ -49,10 +49,11 @@ $app->group('', function ($route) {
|
|||
|
||||
$route->get('/contacts', ContactsController::class .':view')->setName('contacts');
|
||||
$route->map(['GET', 'POST'], '/contact/create', ContactsController::class . ':create')->setName('contactcreate');
|
||||
$route->get('/contact/{contact}', ContactsController::class . ':viewContact')->setName('viewContact');
|
||||
|
||||
$route->get('/hosts', HostsController::class .':view')->setName('hosts');
|
||||
$route->map(['GET', 'POST'], '/host/create', HostsController::class . ':create')->setName('hostcreate');
|
||||
$route->get('/host/{domain}', HostsController::class . ':viewHost')->setName('viewHost');
|
||||
$route->get('/host/{host}', HostsController::class . ':viewHost')->setName('viewHost');
|
||||
|
||||
$route->get('/registrars', RegistrarsController::class .':view')->setName('registrars');
|
||||
$route->map(['GET', 'POST'], '/registrar/create', RegistrarsController::class . ':create')->setName('registrarcreate');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue