Help us understand the problem. What is going on with this article?

rails devise

More than 3 years have passed since last update.

http://ruby-rails.hatenadiary.com/entry/20140801/1406907000

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.

https://launchschool.com/blog/how-to-use-devise-in-rails-for-authentication

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away