Is this possible? I have an action triggered off as JS, which i respond
appropriately, but sometimes, the request fails at which point I’d like
change to respond_to format to html so that I can redirect to a thank
page. So far I’ve tried:
redirect_to(thank_you_path, format: ‘html’) and return if
but this still tries to redirect it as a js response, which of course
fails…is there anyway I can convert a JS request to an HTML
Thanks for your help!