Change wrong param name

This commit is contained in:
Miguel Nogueira 2020-07-19 06:01:46 +01:00 committed by GitHub
parent 168f08bd96
commit 2c0c404d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ Route::group(['middleware' => ['auth', 'forcelogout', '2fa']], function(){
Route::post('forms/save', 'FormController@saveForm') Route::post('forms/save', 'FormController@saveForm')
->name('saveForm'); ->name('saveForm');
Route::delete('forms/destroy/{id}', 'FormController@destroy') Route::delete('forms/destroy/{form}', 'FormController@destroy')
->name('destroyForm'); ->name('destroyForm');
Route::get('forms', 'FormController@index') Route::get('forms', 'FormController@index')