route().current(name) not working as expected in 2.0.4 #728
-
The README says that route().current('events.') should return true when current URI is /events. Is this expected? I couldn't find anything regarding this in the Upgrade section. |
Beta Was this translation helpful? Give feedback.
Answered by
bakerkretzmar
Mar 13, 2024
Replies: 1 comment 1 reply
-
The argument to |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BamButz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The argument to
current()
is the route name, so if your/events
route is namedevents.index
it should work. If it's just namedevents
I'm not sure... you're saying that worked fine in v1 and doesn't in v2?