Hi all!

I'm in trouble guys !  :)

I want to make differents admin routing based on the user role.
Mainly, I have 2 roles : admin and logged user

So no problem about using Auth Component and the 'admin' prefix for my
views. (admin_index eg)
But I think it will be cool to have another prefix for a different
role like 'user_index' for the logged user.

So I could easily organize my view based on a prefix.

But right now I think cake juste allow one admin routing and one
prefix so anyone have an idea to do that ?
In the beforeFilter method ?

Thanks for helping !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to