Just remove 'id' as an index.

array('action' =>'remover', $registro['Proprietario']['id'])

You only need to pass indexes for named params and for routing.

On Jan 27, 1:36 pm, Celso <cels...@gmail.com> wrote:
>         echo $this->Html->link('Remover',
>                         array(
>                         'action' =>'remover',
>                         'id' => $registro['Proprietario']['id']
>                         ),
>                         null,
>                         'Deseja realmente remover?' );
>
> create this:
>
> /proprietarios/remover/id:3
>
> and in the 1.2:
>
> /proprietarios/remover/3
>
> How change this in 1.3?
> Thanks,
> Celso.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to