50 Experience
0 Lessons Completed
0 Questions Solved


Posted in Devise multiples scopes

Hi !, i'am using devise in rails, and i want to use devise for multiples scopes such as User, Member, Partner, etc..., But i would like to separete them both into diferents models, and there controllers. But i want to generate a single devise views (sessions, registrations, etc..) for both scopes, and they gonna have both the same page for log-in.

IF possible, how can i handle this fonctionality? only one sigle LOGIN PAGE for both scopes
thanks in advance.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.