
<a href="http://caniuse.com/history">history</a> API to produce URLs with a structure like
<code>/posts/new</code>.</p>
<p>Given the following router, entering <code>/posts/new</code> will take you to the <code>posts.new</code>
route.</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="token punctuation">.</span><span class="token function">map</span><span class