Thanks for all the replies people,
On 3/25/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
>
> Instead do:
>
> function admin_add()
> {
> return $this->setAction('add');
> }
>
Just wondering if setAction() allows rendering of a different view after the
call?
Like:
function admin_add()
{
return $this->setAction('add');
$this->render('admin_add');
}
Cheers,
Sonic
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---