ibro

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

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.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.