Try this: $ajax->form(array('action' => 'add'), 'post', array('model' => 'action'))
David On Apr 22, 9:26 am, dizz <[EMAIL PROTECTED]> wrote: > Hey, I've been trying to figure this out for a few hours now. I am > either missing something or you cannot change thecontrollerin the > helper and that it will always default to thecontrollerof the parent > page. > > For instance I am trying to add comments on a user profile, the parent > profile is "Users" and no matter what I try putting in the helper > (array like a normalformhelper, url forajaxhelpers) it keeps on > defaulting to the Userscontroller. > > Any help would be greatly appreciated thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---