Re: Method access problem

2009-09-30 Thread brian
Did you give it the "private" keyword? What does the code look like? On Wed, Sep 30, 2009 at 6:50 AM, swati wrote: > > Hi, > I am getting the following error: > > Private Method in NominationsController > > Error: NominationsController::admin_add() cannot be accessed directly. > > Notice: If you

Re: Method access problem

2009-09-30 Thread amol jadhav
Hey.. Baking is good practice to impliment admin methods for CRUD operations. It gives you directly admin_add,admin_edit, admin_view & admin_delete methods with completly code. You can it. -- Thanks & Regards Amol a...@weboniselab.com --~--~-~--~~~---~--~~

Method access problem

2009-09-30 Thread swati
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_ad