You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a note is saying Routes with optional parameters at the end will not match on requests with a trailing slash (i.e. /blog/ will not match, /blog will match).
now I have created an optional @Route("/blog/{page<\d+>}") and tried /blog/ on chrome and it matched the route that I have already set to a default int $page = 0