Have you tried:
$form->create( 'Model', array('url' => array('controller' =>
'controller_name', 'action' =>'controller_action')) );
On Oct 28, 12:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've recently moved into cake 1.2 (from good 'ol cake 1.1). There is
> much to love about this new version.. but I have been a bit thrown off
> by the way the $form->create() method generates its action url in the
> update.
>
> I am becoming accustomed to the very nice way that $html->link will
> accept 'controller' and 'action' ( to create the link ) and would even
> take into consideration my routes.. adjusting the url accordingly.
>
> Not sure if it's possible, but it would be nice if this were
> achievable when creating a form as well: $form->create( array('controller' =>
> 'controller_name', 'action' =>
>
> 'controller_action') );
>
> I'm curious if this is something that may happen in the near future
> with the considerable amount of updates that are being made? Or if
> this is not being considered and I should simply not worry about it
> (or set up my own method).
>
> Thanks!
>
> -morris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---