I believe in order to work the admin routes setting in app/config/core.php
needs to be on and the admin route prefix should be "cpanel". This isn't new
in 1.2, this is admin routing with a custom prefix.


shoesole wrote:
> 
> 
> 
> If you preface any function in your controller with cpanel_ then it
> will have the path you are desire.
> 
> For example, in your users_controller file you will have a function
> called cpanel_add(). Then that will be avaliable at
> www.mysite.com/cpanel/users/add
> like you want. If you want the URL www.mysite.com/cpanel/users/ to be
> a list page, simply make your index function in users_controller
> cpanel_index(). Hope that helps.
> 
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-manage-URLs-that-doesn%27t-require-access-to-Database-tf3630382.html#a10153634
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to