Fix the route to associate custom fields with fieldsets

This commit is contained in:
Ivan Nieto Vivanco 2022-01-26 14:43:20 -06:00
parent 48f1380f6e
commit fcd203f4dc

View file

@ -29,7 +29,7 @@ Route::group([ 'prefix' => 'fields','middleware' => ['auth'] ], function () {
Route::post(
'fieldsets/{id}/associate',
[CustomFieldsController::class, 'associate']
[CustomFieldsetsController::class, 'associate']
)->name('fieldsets.associate');
Route::resource('fieldsets', CustomFieldsetsController::class, [