I am working on an rails app in which there is one table Users, which has two roles Admin and member. Until now I am using single login page.
But now, I need to make two different login pages with completely different styling for admin and member. Moreover Admin don't have sign_up option but member has.
I am totally confused that is it possible or not? If possible, how to achieve this.
Aucun commentaire:
Enregistrer un commentaire