Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
How to manually create users with Devise? #1847
In my rails app, besides the user registrations, admins should create, edit and delete user in the backend, too. I have a problem with creating new users through that admin backend.
When I call the UsersController#new action in my browser it opens up the user entry form created by me. When I click on the submit button the Devise::RegistrationsController#create is called but it should call my UsersController#create action.
How do I achvieve to call UsersController#create when using the user creation in the admin backend, and to call Devise::RegistrationsController#create when a user uses the registration?