I'm using devise and I put the login and sign up forms in the same page, now when I write invalid login details or don't fill required input data at the sign up form.
I'm redirecting to the /users page if I'm trying to register or to the /users/sign_in if I try to login with the errors i made...
I want to stay in the same page and show the errors in the same page.
how can I do it?
thanks you very much, I need a quick help :)