modify devise controllers 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' }