rails generate devise:views User
Turn on scoped_views
in config/initializer/devise.rb
view config.scoped_views = true
rails generate devise:views User
Turn on scoped_views
in config/initializer/devise.rb
view config.scoped_views = true
转载于:https://www.cnblogs.com/or2-/p/8367566.html