I generated views/controllers for two user models upon installing
devise. For whatever reason, the views that are included inside of the
gem itself are being rendered instead of the ones that I added.

/views/users/registrations/new.html.erb
/views/bizusers/registrations/new.html.erb

Current route configuration

devise_for :biz_users, path_names: { sign_in: 'login', sign_out:
'logout', sign_up: 'register' }
  devise_for :users, path_names: { sign_in: 'login', sign_out: 'logout',
sign_up: 'register' }
  devise_for :admins, path_names: { sign_in: 'login', sign_out:
'logout', sign_up: 'register' }

I solved this problem before in a different way, but it was hard to
manage due to the separation of concerns that needed to be in place for
the users. Can help you fix this issue please?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/04ae8417d934e15866af14355188fc14%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to