$ rails generate devise:controllers users # `/controllers/users/` # routes.rb devise_for :users, controllers: { registrations: 'users/registrations' }