- You are doing it wrong. The documentation says:
The parameters array should be an associative array of resource names and parameter names
So in your case the resource name is "clowns" (and not "clown") and you want for this resource name the parameter to be "turboClown:
Route::resource('clowns', 'TurboClownController', ['parameters' =>
…
Top comments (0)