The solution is to use $html->link('anchor', array(..., 'admin' =>
true'), but unfortunatelly it isn't working neither (http://
groups.google.com/group/cake-php/browse_thread/thread/
a6abc82e0b317b68#).

Anyway, I wonder why is 'admin' an special prefix. I mean, why there
isthe possibility to set 'admin' => true in $html->link(). In my
opinion there should be no difference between the 'admin' prefix and
any other, because the logic to check for priviledges will be in
Appcontroller::beforeFilter() in both cases.
--~--~---------~--~----~------------~-------~--~----~
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