diff --git a/routes/web.php b/routes/web.php index 0cbd84c..d1ea08b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -199,7 +199,7 @@ Route::group(['middleware' => ['auth', 'forcelogout', '2fa']], function(){ Route::post('forms/save', 'FormController@saveForm') ->name('saveForm'); - Route::delete('forms/destroy/{id}', 'FormController@destroy') + Route::delete('forms/destroy/{form}', 'FormController@destroy') ->name('destroyForm'); Route::get('forms', 'FormController@index')