I just have upgraded one of my project from laravel
version 5.2 to 7.1
But now I have started getting following error
Method App\\Http\\Controllers\\Controller::show does not exist.
I know there is not a function named show in my controller class. But if there is any way to trigger custom named method instead of show()
while declaring resource attribute in web.php
file. Here is my resource declaration in web.php
Route::resources([
'first', 'FirstController',
'second','SecondController'
]);
Can I make some customization to tackle this situation.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire