el-is-known">
<p>Since a route's <a href="https://api.emberjs.com/ember/2.16/classes/Route/methods/transitionTo?anchor=beforeModel"><code>beforeModel()</code></a> executes before the <code>model()</code> hook,
it's a good place to do a redirect if you don't need any information that is contained in the model.</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/router.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript">Router<span class="to