title: How can I make related-object without url parameter in laravel?
body: <p>I have some related model <code>Textbook</code>, <code>Chapter</code>, ..etc. Obviously, <code>Textbook</code> has many <code>Chapter</code> so both model has its eloquent relation method bidirectionally.</p>
  
  <p>Last week, I make my route with <code>textbook/{textbook}/chapter/create</code>. In this time, I just make the route without <code>textbook</code> model. Before that, this binding makes too long and complicated.. like.. <code>textbook/{textbook}/chapter/{chapter}/section/{section}/item/{item}</code> .. so I just gave up.</p>
  
  <p>After that, I tried depth-two (?) style.. like.. <code>textbook/{textbook}/chapter/{chapter}</code>, <code>chapter/{chapter}/section/{section}</code> , ... it works nicely in a short period but in many to many relation, reveals a problem that I can't find proper parent model when I needed..</p>
  
  <p>How do you find proper parent model without massive-chain of url parameters?</p>