Are controllers in devise automatically generated? How do you access them?
I know for views you do
rails generate devise_views.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Devise uses internal controllers, which you can access and subclass in your own code. They are under the
Devisemodule. For example, to extend theRegistrationsController:Then all you have to do is configure Devise’s routes to use your controller instead: