-
Notifications
You must be signed in to change notification settings - Fork 247
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
route().current() not working for base route #200
Comments
Confirmed, same is happening to me. |
Thanks for this. Sorry for slow replies on all the recent issues. Haven't had a ton of 20% time lately. Hopefully this weekend or next week |
I got the same issue. In Ziggy.namedRoutes object I can see the route name: |
Same here - base route isn't working with |
Thanks @DanielCoulbourne! |
Works like a charm. Thank you @DanielCoulbourne ! |
I have a dashboard route defined in Laravel:
But when I call
route().current()
on the dashboard page (/
), this function returns undefined.I would have expected
dashboard
.The text was updated successfully, but these errors were encountered: