craft-localeredirector
craft-localeredirector copied to clipboard
Breaks AJAX requests to plugin controller
I make an AJAX call to the URL "${window.baseUrl}actions/podioLead/newLead/" and it redirects it to "${window.baseUrl}/en/actions/podioLead/newLead/" which ends up to Bad request.
This URL points to an action of a custom plugin I have developed. Is there any way to prevent the redirect?
Hey @jimzarkadas, I pushed a small fix to the ajax-fix branch. Can you test this out and let me know if it works?