Change wrong param name

This commit is contained in:
2020-07-19 06:01:46 +01:00
committed by GitHub
parent 168f08bd96
commit 2c0c404d73

View File

@@ -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')