how to create devise user controller code example
Example: devise generate controller
$ rails generate devise:controllers users # `/controllers/users/`
# routes.rb
devise_for :users, controllers: { registrations: 'users/registrations' }
$ rails generate devise:controllers users # `/controllers/users/`
# routes.rb
devise_for :users, controllers: { registrations: 'users/registrations' }