I don't know whether someone has asked it yet. <br><br>here is my situation. <br><br>I have an action "find" that take one argument of book id<br>and I have another action author that chained to find<br>so in practice I use /find/1/author to list all the authors of book 1. <br>
<br>now I want to capture the book id use form but still use the action "find" and "author"<br>so in action "form_do", <br>I use<br>$c->response->redirect($c->uri_for("/find/$book_id/author"));<br>
<br>but I have learned that $c->uri_for($self->action_for('author')*** should be a better approach.<br>so how do I parse the $book_id if I don't want to hard code the URL. <br><br>Thank you very much. <br>