From 2c0c404d73a2dd1102f829f4069fdfe4cb104174 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Sun, 19 Jul 2020 06:01:46 +0100 Subject: [PATCH] Change wrong param name --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')