vergilet / repost

Redirect using POST method
https://vergilet.github.io/repost
MIT License
84 stars 12 forks source link

Not redirecting to specified url when in ajax request #25

Closed ketandoshi closed 1 year ago

ketandoshi commented 2 years ago

Hi @vergilet,

I was checking this gem. My controller receives an ajax request, and after processing it, I need to redirect user to their specified url along with posting some payload. I tried to use redirect_post method but it's not redirecting. Would it be possible to use while in ajax request?

Thanks