OK, finally got it for real:
Router::connect('/admin/', array('prefix'=>'admin','controller' =>
'tips', 'action' => 'index'));
'prefix'=>'admin' was the key.
On Oct 25, 10:26 am, hydra12 <[EMAIL PROTECTED]> wrote:
> OK, I was wrong. I grabbed the latest (pre-beta), then I grabbed the
> latest
OK, I was wrong. I grabbed the latest (pre-beta), then I grabbed the
latest from svn. It still doesn't work. Any thoughts?
On Oct 25, 10:06 am, hydra12 <[EMAIL PROTECTED]> wrote:
> OK, found the answer
> here:http://groups.google.com/group/cake-php/browse_thread/thread/af135e46...
>
> I shoul
OK, found the answer here:
http://groups.google.com/group/cake-php/browse_thread/thread/af135e46e9acb355/93459541d5c568d9?lnk=gst&q=router+admin+routing#93459541d5c568d9
I should have spent more than 30 minutes looking for the answer . . .
On Oct 25, 9:43 am, hydra12 <[EMAIL PROTECTED]> wrote:
>
I'm working on a new app, and I'm having trouble with routes and admin
routing. I have a route setup for my non-admin users:
Router::connect('/', array('controller' => 'tips', 'action' =>
'add'));
This works great. When a user connects to my site, they automatically
go to the /tips/add page.