d a model for the <code>favorite-posts</code> route, you would use the <a href="https://api.emberjs.com/classes/Ember.Route.html#method_model"><code>model()</code></a>
hook in the <code>favorite-posts</code> route handler:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/routes/favorite-posts.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">export</span> <span class="token keyword">default</span> Ember<spa