I am newbie with Devise.
I have installed Devise.
Now I have:
1) model named User
2) some predefined templates in /views/devise/ folder
But I have discovered than there is no any controller for user actions. When I try to send the request *http://localhost:3000/users/sign_up* my application.html.erb is rendered, but I expect to get a user registration form.
Could anyone help me to understand?
From the devise intro
Configuring controllers
If the customization at the views level is not enough, you can customize each controller by following these steps:
1) Create your custom controller, for example a Admins::SessionsController:
2) Tell the router to use this controller:
3) And since we changed the controller, it won’t use the “devise/sessions” views, so remember to copy “devise/sessions” to “admin/sessions”.
Remember that Devise uses flash messages to let users know if sign in was successful or failed. Devise expects your application to call “flash[:notice]” and “flash[:alert]” as appropriate.
Hope it helps!