n punctuation">)</span><span class="token punctuation">;</span>
<span aria-hidden="true" class="line-numbers-rows"><a href="#C6_L1" id=C6_L1></a></span></code></pre>
<p>In this case, the logger will only be injected on the index route.</p>
<p>Injections can be made onto any class that requires instantiation. This includes
all of Ember's major framework classes, such as components, helpers, routes, and
the router.</p>
</section>
<h3 id="toc_ad-hoc-injections">Ad Hoc Injections <a href="#toc_ad-hoc-injections