Rails3 Redirect for javascript/ajax
- by Tiago
Hi,
I'm using a form with the remote => true. I have a validation that is working correctly.
My problem is when the user enters all the correct information and writes the data at this time I do a redirect to the page of the show. Instead of redirecting, it displays the html of the show in my div. How can I make a javascript redirect that will understand? I did not want to use the window.location.
Thanks...