We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to support multiple URLs for the same state (reason: support for legacy code)
Is there an agreed best practice way to do this? I've seen this issue #185, but it doesn't seem to reach a conclusion about the right way to do it.
The text was updated successfully, but these errors were encountered:
Currently the only accepted convention for this is $urlRouterProvider.when(). There are no higher level APIs for multiple URLs at the moment.
$urlRouterProvider.when()
Sorry, something went wrong.
Oh, alternatively, you could implement a custom UrlMatcher that accepts multiple UrlMatchers as arguments.
UrlMatcher
has anyone written such custom UrlMatcher yet?
this is major pain in the ass, when you are working on a site with multiple languages, and it would take me a good while to try and understand the 1000 loc https://github.com/angular-ui/ui-router/blob/master/src/urlMatcherFactory.js and write a custom version of it..
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This does not mean that the issue is invalid. Valid issues may be reopened.
Thank you for your contributions.
No branches or pull requests
I need to support multiple URLs for the same state (reason: support for legacy code)
Is there an agreed best practice way to do this? I've seen this issue #185, but it doesn't seem to reach a conclusion about the right way to do it.
The text was updated successfully, but these errors were encountered: