-to</a> helper.</p>
<p>The other one is <a href="https://api.emberjs.com/ember/2.16/classes/Route/methods/transitionTo?anchor=replaceWith/"><code>replaceWith()</code></a> which works the same way as <code>transitionTo()</code>.
The only difference between them is how they manage history.
<code>replaceWith()</code> substitutes the current route entry and replaces it with that of the route we are redirecting to,
while <code>transitionTo()</code> leaves the entry for the current route and creates a new one for