vg></a> </h3>
<section aria-labelledby="toc_aborting-transitions-within-model-beforemodel-aftermodel">
<p>The <code>model</code>, <code>beforeModel</code>, and <code>afterModel</code> hooks described in
<a href="../asynchronous-routing/">Asynchronous Routing</a>
each get called with a transition object. This makes it possible for
destination routes to abort attempted transitions.</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/routes/disco.js</span><pre class="language-javascript li