Try:
<?= $form->create('User', array('url'=>array
('controller'=>'users','action'=>'update'))); ?>
On Jun 1, 7:23 pm, "Dave Maharaj :: WidePixels.com"
<d...@widepixels.com> wrote:
> I have created 1 form which has
>
> <?php echo $form->create(array('type' => 'post',
> 'options' => array(
> 'model'=>'User',
> 'url' => array(
> 'controller' => 'users',
> 'action' => 'update'
> )
> )
> )); ?>
>
> But everytime I submit the form it comes back missing Edit view....? But I
> am asking for the update view not edit
>
> HTML rendered is
> <form action="/users/edit/3" method="post" id="UserEditForm"
> options<fieldset>
> ..........
> </form>
>
> Why is it still looking for Edit?
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment