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
Could you extend the documentation with the following.
Saying, we have urls like http://domain.com/{_locale}/dashboard,
what is the right way to impement redirect from http://domain.com (root) to http://domain.com/{_locale}/someurl, where {_locale} is locale guessed by Lunetics guesseres.
I really lack this explanation in the docs. Guess this is done in routing.yml.
Many thanks.
The text was updated successfully, but these errors were encountered:
Any updated on this? Some pointers would be greatly appreciated.
Sorry, something went wrong.
in the symfony cmf, we do it like this:
home_redirect: pattern: / defaults: _controller: lunetics_locale.switcher_controller:switchAction route: someurl statusCode: 301 useReferrer: false
someurl would be the route name to your dashboard or whatever you want the homepage to be.
someurl
does that make sense? anybody wants to do a PR to update the docs with this bit of information?
No branches or pull requests
Could you extend the documentation with the following.
Saying, we have urls like http://domain.com/{_locale}/dashboard,
what is the right way to impement redirect from
http://domain.com (root) to http://domain.com/{_locale}/someurl, where {_locale} is locale guessed by Lunetics guesseres.
I really lack this explanation in the docs. Guess this is done in routing.yml.
Many thanks.
The text was updated successfully, but these errors were encountered: