Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to manually create users with Devise? #1847

Closed
mdudda opened this Issue · 1 comment

2 participants

@mdudda

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?

@josevalim
Owner

Please use the mailing list for questions.

@josevalim josevalim closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.