Reputation: 5210
Is there any easy way to disable devise sign_up page? I have forms for registration and authorization on one page so i don't need any other pages. I want to disable routes responsible for these pages, so that if a user enters users/sign_up
he should't get to the sign up page but should be redirected to some other page.
Upvotes: 3
Views: 2438
Reputation: 5706
You can overwrite the registrations controller and make the new
action redirect somewhere. Here are some responses to a similar question that was posted on StackOverflow which explain the necessary steps.
Upvotes: 2