Answer: laravel resource controllers / routes and models
Cyril Fehintoluwa

Cyril Fehintoluwa @seewhy17

About: I am a Php developer who is really fascinated by JavaScript

Location:
Nigeria
Joined:
Jan 4, 2019

Answer: laravel resource controllers / routes and models

Publish Date: Dec 20 '19
2 0
  1. 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' =>

Comments 0 total

    Add comment