Replies: 1 comment
-
Heya, thanks for submitting this. This seems like a feature request or an improvement so I'm moving this to discussions instead. It's best to post these under the discussions tab in the future to get support for your idea. After that you may send a PR to the framework. Please only use this issue tracker to report bugs and issues with the framework. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
We can load external route files using the
group
method declared inIlluminate\Routing\RouteRegistar
as follows:However we cannot load the external route files using the
group
method declared inIlluminate\Support\Facades\Route
facade:The problem is that
Route::group()
definition requires to pass$attributes
as its first argumentWould be possible to allow users to load their external route files without being required to pass an empty array of attributes? This would allow users to manage their route prefixes, namespaces, middlewares and names explicitly in an expressive way. For instance:
Beta Was this translation helpful? Give feedback.
All reactions