gem devise except cpntroller code example
Example 1: devise rails g views
rails generate devise:views
Example 2: devise generate controller
$ rails generate devise:controllers users # `/controllers/users/`
# routes.rb
devise_for :users, controllers: { registrations: 'users/registrations' }