One is admin_accnt, the other is accnt.
How do I link to the admin_accnt ?
My link
echo $html->link("Admin", array("controller" => "users", "action" =>
"admin_accnt"));
IF I just do
echo $html->link("Admin", array("controller" => "users", "action" =>
"accnt"));
I go the the accnt function/view
IF I go the the admin_accnt I get
Error: UsersController::admin_accnt() cannot be accessed directly.
Help will be appreciated!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment