I don&#39;t know whether someone has asked it yet. <br><br>here is my situation. <br><br>I have an action &quot;find&quot; 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 &quot;find&quot; and &quot;author&quot;<br>so in action &quot;form_do&quot;, <br>I use<br>$c-&gt;response-&gt;redirect($c-&gt;uri_for(&quot;/find/$book_id/author&quot;));<br>
<br>but I have learned that $c-&gt;uri_for($self-&gt;action_for(&#39;author&#39;)*** should be a better approach.<br>so how do I parse the $book_id if I don&#39;t want to hard code the URL. <br><br>Thank you very much. <br>