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
The problem for is_current_url is in missing parameter id. In this case we get Missing data for URL segment: id error. How can i check if rule user.view is current url?
The text was updated successfully, but these errors were encountered:
You need to pass in the data parameters to is_current_url. Example if the url is /user/view/1 you'd need to do is_current_url('user.view', ['id' => 1]) which would return true.
Good day. The code:
router:
twig:
The problem for
is_current_url
is in missing parameterid
. In this case we getMissing data for URL segment: id
error. How can i check if ruleuser.view
is current url?The text was updated successfully, but these errors were encountered: