Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only limit route names when calling route() #790

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

simon-tma
Copy link
Contributor

When strictRouteNames is set, we still need to allow wildcard route names to be passed to current() and potentially invalid route names to be passed to has().

This changes allows route().current('dashboard.*') to be considered valid while still preventing calling route() with an unknown route name.

When `strictRouteNames` is set, we still need to allow wildcard route names to be passed to `current()` and potentially invalid route names to be passed to `has()`.
@bakerkretzmar bakerkretzmar self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants