link-to</code>), then the hook is not executed.
If an identifier (such as an id or slug/) is provided instead then the model hook will be executed.</p>
<p>For example, transitioning to the <code>photo</code> route this way won't cause the <code>model</code> hook to be executed (because <code>link-to</code>
was passed a model/):</p>
<div class="filename handlebars"><div class="ribbon"></div><span>app/templates/photos.hbs</span><pre class="language-handlebars line-numbers"><code class="handlebars language-han