I'm in a confusing situation . I am using Devise for authentication in my application . And i want two different views for my Registration process . In my views i put them both in devise/Registration
folder
1-business.html.erb
2-new.html.erb
But i got no way to access that 'business' file view . I have only one model User
and i need these two views due to a flag in the user table
. I can not also redriect according to their falgs
like current_user.myflag
because i need to do it even before registration .I checked some links too but they are different from my options - Any help will be greatly apprecaited . thanks
Aucun commentaire:
Enregistrer un commentaire