title: CakePHP: Friendly urls using inflector and no id
body: <p>I have built a simple portfolio using CakePHP and it has urls like: <code>domain.com/portfolio/82/This_is_an_item</code></p>
  
  <p>What I want to do is remove the ID from the url. How would I do this?</p>
  
  <p>Here is my controller code for the view:</p>
  
  <pre><code>function view ( $id, $slug )
  {
      $post = $this-&gt;Portfolio-&gt;read(null, $id));
  
      $this-&gt;set(compact('post'));
  }
  </code></pre>
  
  <p>and here is the link generator:</p>
  
  <pre><code>&lt;?php echo $this-&gt;Html-&gt;link($post['Portfolio']['title'],
          array('admin' =&gt; false, 'controller' =&gt; 'portfolio', 'action' =&gt; 'view', $post['Portfolio']['id'], Inflector::slug($post['Portfolio']['title'])),
          array('title' =&gt; $post['Portfolio']['title'])); ?&gt;
  </code></pre>
  
  <p>I'm guessing I need to change the controller method to do some sort of find on the title?</p>
  
  <p>Any help would be much appreciated. Thanks</p>