Second devise model not using generated views
问题 I have a User and a Rep model devise_for :users, :controllers => {:registrations => 'user_registration'} devise_for :reps I ran rails generate devise:views reps The custom views show up in app/views/reps But the rep paths are still using the built in devise views Rendered ~/.rvm/gems/ruby-1.9.2-p290/gems/devise-1.4.9/app/views/devise/registrations/edit.html.erb Instead of the generated reps views. 回答1: By simply putting the views there Devise won't use them. You would need to point Devise: