> i think problem is here.....your link should look like
> "controller/action/params" so in your case: posts/delete/post_id
Thanks, this works! However, I didn't write the code myself but it was
generated using bake. So I guess there's some bug in the current Cake
version... The code that it's using is:
<?php echo $html->link(
'Delete',
array('action'=>'delete',
'id'=>$post['Post']['id']),
null,
'Are you sure?'
)?>
...which generates posts/delete/id:X instead of posts/delete/id. How
can I fix that?
Thanks
Josh
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 [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