Matthew,

If you'd like open an RFC ticket about this subject, the router was
rebuilt in 1.2 from the ground up. If there is enough community
support to change it so you must specify the use of a prefix at all
times how the prefixes are handled can be changed in a future version.

-Mark

On Oct 10, 8:59 am, Mathew <[EMAIL PROTECTED]> wrote:
> $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