Replies: 1 comment 1 reply
-
@bilogic any work around for this? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
laravel/ideas#741
If we add a new mixin/macro on
Illuminate\Routing\Route
, it cannot be accessed fromRouteRegistrar
because the$allowedAttributes
are hardcoded.Since
Route
is macroable, it would be great if those macros can also be accessed fromRouteRegistrar
.I found a need for this when trying to define an icon for each route, which can be turned into a menu/breadcrumbs.
Beta Was this translation helpful? Give feedback.
All reactions