-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
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
api/ redirect #271
Comments
Please see #240 |
The setting https://github.com/turquoiseowl/i18n#exclude-urls-from-being-localized |
Thanks, I took /api out from being localized. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a WebAPI in my MVC project configured like this in the WebApiConfig.cs
If I turn off i18n the api works like a charm.
When i18n is on (references loaded) whenever I go to /api/{controller}/{action}/{id} I get redirected to /{controller}/{action}/{id}
How can I override this redirect? Or even better how can I use i18n with the WebApi?
Thanks.
The text was updated successfully, but these errors were encountered: