So, I have two models: Customer, and Shop. Both have very different functionality, so separating them by roles will not benefit me as I see it.
I would like to put both registration forms on one page, and both sign in forms on one page. Say, for example, the left side would be like "Hey, log in as a customer!" And the other side it would say "Yo dawg, I heard you're a shop, login over here". I'm having difficulty separating the forms themselves, and I'm not entirely sure what I should do for the controller aspect as well.
From what I understand, the link to the login page has to be under the scope of the devise_for bit in the routes file. Seeing as the view/controller that I plan on holding the code for signing in or registering is not limited to one model, it doesn't seem to make sense doing it that way.
As far as I know, my main trouble will be figuring out the devise mapping, however, I think it may be more complex than that.
If there is any help or any resources I can be directed to, I would much appreciate it. Thanks.