You don't need it in the url at that point:
books_controller:
function add() {
if (!empty($this->data)) {
// Saving, whatever here
}
else {
$this->Book->create();
// List of parameters that can be specified in the url.
// Can also handle aliases (category => category_id for
Hi! Address in browser "/books/add/category_id:51". If after press on
save button except an error - CakePHP redirect me on url "/books/add"
and "category_id:51" is missed. Can i fix it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th