title: Creating links from multiple dynamic segments
body: <p>I'm trying to build a blog type application that has URLs that contain both the category and the post (entry) id. For instance, I want a URL to be <code>/apple/123</code> or <code>/basketball/456</code>.</p>
  
  <p>The technique I've tried so far is found at <a href="http://jsbin.com/ogorab/202/edit" rel="nofollow">http://jsbin.com/ogorab/202/edit</a>.</p>
  
  <p>From the index template:</p>
  
  <pre><code>&lt;div class="row-fluid"&gt;
      &lt;div class="span4"&gt;
          {{#each entry in content}}
          &lt;h2&gt;Heading&lt;/h2&gt;
  
           {{#linkTo "entry" entry class="btn" }}{{entry.title}}{{/linkTo}}
          &lt;p&gt;&lt;/p&gt;
          {{/each}}
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>throws the error:</p>
  
  <blockquote>
    <p>Uncaught Error: assertion failed: Cannot call get with 'id' on an undefined object.</p>
  </blockquote>
  
  <p>This makes sense since the <code>linkTo</code> functionality expects to build links from what appears to be only the id parameter, but has no way of specifying additional parameters from which to build a correct URL.</p>
  
  <p>My goal is to build a list of links such that they can each have two dynamic segments.</p>
  
  <p>The closest issue I've found that was logged in ember is <a href="https://github.com/emberjs/ember.js/issues/1334" rel="nofollow">this one</a>, but no best practice or example was given and the issue was closed.</p>
  
  <p>Is this type of thing possible in Ember? If so, hopefully someone can provide some guidance.</p>