Wednesday, September 30, 2009

Method access problem

Hi,
I am getting the following error:

Private Method in NominationsController

Error: NominationsController::admin_add() cannot be accessed directly.

Notice: If you want to customize this error message, create content/
views/errors/private_action.ctp

Can you tell me how can i use this "admin_add()" function?
--~--~---------~--~----~------------~-------~--~----~
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: