You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to not working in the same way as the other routes, resource controllers don't allow for parameter naming, excluding/including methods or any other features that are/could be included on the normal routes.
A decision needs to be made as to whether the resource controller serves a big enough purpose to be worthwhile - the end result can, after all, be achieved with standard routes. Using resource controllers decrease boilerplate code, but are (currently) way less flexible.
Describe the bug
Using a
Route::resource()
method doesn't return aRoute
so there is nomiddleware
method available.The text was updated successfully, but these errors were encountered: