If you have more than one Devise model in your application (such as User
and Admin
), you will notice that Devise uses the same views for all models. Fortunately, Devise offers an easy way to customize views. All you need to do is set config.scoped_views = true
inside the config/initializers/devise.rb
file.