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'])
|
Route::delete('forms/destroy/{form}', [FormController::class, 'destroy'])
|
||||||
->name('destroyForm');
|
->name('destroyForm');
|
||||||
|
|
||||||
|
Route::delete('forms/destroy/{form}/confirm', [FormController::class, 'performConfirmedDeletion'])
|
||||||
|
->name('destroyFormConfirm');
|
||||||
|
|
||||||
Route::get('forms', [FormController::class, 'index'])
|
Route::get('forms', [FormController::class, 'index'])
|
||||||
->name('showForms');
|
->name('showForms');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue