Hi. I have a project, where users have multiple roles:
define ('GUEST',0); define ('ADMIN',1); define ('PRO',2);
Depending on the role, I want to pull a different view in some cases. I'm wondering the best way to structure the folder/files for the views.
Should each role have a folder, and I look to see if the view exists/if not go to the next role? Or do I do this with file names ->index_admin.volt, index_pro.volt?