aboutsummaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/routes/web.php b/routes/web.php
index f743652..84e1b7e 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -32,9 +32,12 @@ Route::get('/special-calls/add', [SpecialCallsController::class, 'add'])->name('
Route::post('/special-calls/add', [SpecialCallsController::class, 'addForm'])->name('addSignForm')
->middleware(['auth']);
-Route::get('/special-calls/edit/{id}', [SpecialCallsController::class, 'edit'])->name('edit')
+Route::get('/special-calls/edit/{id}', [SpecialCallsController::class, 'edit'])->name('editSign')
->middleware(['auth']);
-Route::post('/special-calls/edit/{id}', [SpecialCallsController::class, 'editForm'])->name('editForm')
+Route::post('/special-calls/edit/{id}', [SpecialCallsController::class, 'editForm'])->name('editSignForm')
+ ->middleware(['auth']);
+
+Route::get('/special-calls/delete/{id}', [SpecialCallsController::class, 'delete'])->name('deleteSign')
->middleware(['auth']);