diff options
author | Mateja <mail@matejamaric.com> | 2020-11-01 23:55:13 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-01 23:55:13 +0100 |
commit | eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6 (patch) | |
tree | bb9ff7cb37880577f664cff543e78b1bfc8dd1f5 /routes | |
parent | 3c410d2bac3e338ab6d6045577819e292251c066 (diff) | |
download | yota-laravel-eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6.tar.gz yota-laravel-eb54ef5a24bc4af0749ad43ccffcbc1ae03aa4b6.zip |
Special callsigns finished.
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 7 |
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']); |