Ok, apparently I am braindead, because I am still not grasping the concept
of a redirect in cake. I have this page:
productsadmin/compatibles/index/product_id:3365
That has an edit link. Clicking on it takes me to this page:
productsadmin/compatibles/edit/4228
where I can edit the information for a related product.
The update works fine. However, I would like to redirect back to:
productsadmin/compatibles/index/product_id:3365
I currently have this in my controller:
$this->redirect(array('controller' => 'compatibles', 'action' => 'index',
'product_id' => $product_id));
However it redirects me to:
productsadmin/compatibles
Any ideas? If I need to provide additional details please let me know.
--
Dewayne Pinion
Web/Software Guy
Trenton Technology
http://www.trentontechnology.com
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