" id=C5_L5></a></span></code></pre></div>
<p>In the <code>model</code> hook for routes with dynamic segments, it's your job to
turn the ID (something like <code>47</code> or <code>post-slug</code>) into a model that can
be rendered by the route's template. In the above example, we use the
photo's ID (<code>params.photo_id</code>) as an argument to Ember Data's <code>findRecord</code>
method.</p>
<p>Note: A route with a dynamic segment will only have its <code>model</code> hook called
when it is entered via 