How can I use a resource controller on the route of my site:
Route::resource('/', 'TestController');
I hit the URL:
mysite.dev/some-slug-to-get-in-controller
And the show method doesnt work, just an error saying route doesnt exist.
I've checked the route list:
GET|HEAD | / | index | TestController@index
POST | / | store | TestController@store
GET|HEAD | create | create | TestController@create
GET|HEAD | {} | show | TestController@show
PUT|PATCH | {} | update | TestController@update
DELETE | {} | destroy | TestController@destroy
GET|HEAD | {}/edit | edit | TestController@edit