I have two models namely: Admin and User created using devise in ruby on rails. I want to have a single login page in the root for both user and admin; also user sign up page should be in the same root page while admin will have a separate sign up page. This is similar to a facebook home page with login and sign up at the same page for general user and a separate sign up page for celebrity, band or business.
Please help.
My configurations:
- Ruby version - 1.9.3
- Rails version - 3.2.13
- Devise version - 3.0.0