...
But how can I create interface for /admin/ url itself?
Should I make 'admin' controller? Or what?
In most of my applications I am creating a seperate administrators_controller that works very similarly to the way a users_controller would.
Then in /app/config/routes.php I map /admin to /administrators/index which will give you a login box if you do not have an adminsession active.
An 'admin' layout in my system is rendered any time /admin is a prefix or the administrators controller is active. To access /admin or /administrators my authentication system checks for an admin session and redirects to a login page if non exists.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---
