devise在引擎中安装后,设置访问自定义页面
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