3

I wanted to redirect to "/signup" page after a user fails the registration process. How do you do it?

Every time the registration fails, it redirects to "/users" which is not what I wanted, I want it to redirect to the registration page.

TIA

Eralph
  • 944
  • 1
  • 9
  • 23

1 Answers1

0

You have to write a custom method in the initializer and call it.

See this post here, hope it gets you where you need to!

Devise redirect after login fail

Community
  • 1
  • 1
RustComet
  • 567
  • 4
  • 15