$html->link('View
User',array('admin'=>false,'controller'=>'users','action'=>'view','id'
=> $user['Users']['id']));

The prefix string needs a boolean value. If your prefix had been
"chicken_add" then you would pass "chicken"=>false.

I dislike Cake's implementation of the Router defaulting to the
prefix. I think the Router should default to "view()" rather then
"admin_view()", and that you have to pass 'admin'=>true rather then
'admin'=>false.

The reason this is such a problem is when you have elements or plugins
used inside an admin view then all the routes are broken.
--~--~---------~--~----~------------~-------~--~----~
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