php - The resource routing of laravel5.4 reports an error. What is the reason?
世界只因有你
世界只因有你 2017-07-03 11:40:48
0
1
825

First I registered the route in the routing file, the code is as follows:

Then I used php artisan to produce the route and an error occurred, as follows:

I implemented the resource routing method in the controller, as follows:

Finally, there was still an error when accessing in the browser, as follows:

Please gods, what is the reason for this?

世界只因有你
世界只因有你

reply all(1)
给我你的怀抱

Grammar error

is 'CategoryController' is not CategoryController

Route::resource('category', 'CategoryController');
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template