Rather than quote myself, Google is everybody's friend: http://groups.google.com/group/cake-php/browse_thread/thread/63689f6171aa5cf3/27b15a01b48a2acb?lnk=gst&q=AD7six&rnum=1
RequestAction is simulating a url - so I wouldn't expect it to work with _ methods. If you wanted to protect a method such that it isn´t possible to call directly from the web you can check for the presence of the parameters "return" AND "bare", as currently these are both set for requestAction calls, and are not (both) present if called from the web. I don´t think it's a good idea to instanciate and call a controller directly - what's the point of using an MVC framework to just create strands of spaghetti between everything? But then, that's just my opinion :) Cheers, AD7six --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
