I want to change the basic "My account" and "Logout" to "Welcome, USERNAME" and a logout icon but instead of checking if the url/uri matches I want to check if the route matches.

How can I get the route of the menu items?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.