Add confirmation route
This commit is contained in:
parent
d234415d38
commit
8769f279ac
@ -266,6 +266,9 @@ Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => ['lo
|
||||
Route::delete('forms/destroy/{form}', [FormController::class, 'destroy'])
|
||||
->name('destroyForm');
|
||||
|
||||
Route::delete('forms/destroy/{form}/confirm', [FormController::class, 'performConfirmedDeletion'])
|
||||
->name('destroyFormConfirm');
|
||||
|
||||
Route::get('forms', [FormController::class, 'index'])
|
||||
->name('showForms');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user