79417644

Date: 2025-02-06 11:09:31
Score: 0.5
Natty:
Report link

In the new Larevel you had to specify which routes you would like to be included for the resource by passing an argument to the route definition like so:

Route::resource('photo', PhotoController::class, ['only' => [
    'index', 'show'
]]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adeel Raza Azeemi