From 57dff5950b32a5c4c6f8fcddc7ce3b28601792f8 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 31 Oct 2020 22:02:26 +0100 Subject: Add special callsigns controllers. --- routes/web.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'routes') diff --git a/routes/web.php b/routes/web.php index 4c20032..1d04dbf 100644 --- a/routes/web.php +++ b/routes/web.php @@ -40,6 +40,19 @@ Route::get('/special-calls', [SpecialCallsController::class, 'activities'])->nam Route::get('/special-calls/reserve', [SpecialCallsController::class, 'reserve'])->name('reserve'); Route::post('/special-calls/reserve', [SpecialCallsController::class, 'reserveForm'])->name('reserveForm'); + +Route::get('/special-calls/add', [SpecialCallsController::class, 'add'])->name('addSign') + ->middleware(['auth']); +Route::post('/special-calls/add', [SpecialCallsController::class, 'addForm'])->name('addSignForm') + ->middleware(['auth']); + + +Route::get('/special-calls/reservations', [SpecialCallsController::class, 'reservations'])->name('reservations') + ->middleware(['auth']); +Route::post('/special-calls/reservations', [SpecialCallsController::class, 'reservationsForm'])->name('reservationsForm') + ->middleware(['auth']); + + Route::get('/login', [PagesController::class, 'login'])->name('login'); Route::post('/login', [PagesController::class, 'loginForm'])->name('loginForm'); Route::get('/logout', [PagesController::class, 'logout'])->name('logout'); -- cgit v1.2.3