On Fri, 30 Jun 2006 10:19:42 -0700
gwoo <[EMAIL PROTECTED]> wrote:

> Yes if you put $this->render() in the method. As was discussed the  
> really should not be needed and a simple return is preferred.
> 
> function foo(){
>       return $this->Example->findAll();
> }

OK, but doesn't work for me. I have actions that render different views
according to conditions so i have to use redner(). I think there should be
a parameter indicating if the request was made through requestAction().

-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to