title: CakePHP reverse routing: Html link not showing correct link
body: <p>Firstly, I understand there have been many questions and solutions about this but none I've found fix my issue.</p>
  
  <p>In summary, the Html helper is not reverse routing correctly and instead of URLs like this:</p>
  
  <pre><code>http://website.com/user_of_website/slug_name
  </code></pre>
  
  <p>I get URLs like this:</p>
  
  <pre><code>http://website.com/things/view/username:user_of_website/slug:a_thing
  </code></pre>
  
  <p>Here is my router setup:</p>
  
  <pre><code>Router::connect('/', array('controller' =&gt; 'pages', 'action' =&gt; 'display', 'home'));
  /**
  * ...and connect the rest of 'Pages' controller's urls.
  */
  Router::connect('/pages/*', array('controller' =&gt; 'pages', 'action' =&gt; 'display'));
  
  //User routes
  Router::connect('/login', array('controller' =&gt; 'users', 'action' =&gt; 'login'));
  Router::connect('/logout', array('controller' =&gt; 'users', 'action' =&gt; 'logout'));
  Router::connect('/register', array('controller' =&gt; 'users', 'action' =&gt; 'add'));
  
  Router::connect('/users/:action/*', array('controller' =&gt; 'users')); 
  Router::connect('/things/:action/*', array('controller' =&gt; 'things')); 
  
  Router::connect(
      '/:username/:slug',
      array(
          'controller' =&gt; 'things',
          'action' =&gt; 'view'
      ),array(
          'username' =&gt; '[a-zA-Z0-9_]+',
          'slug' =&gt; '[a-zA-Z0-9_]+',
          'pass'=&gt;array(
              'username',
              'slug'
          )
      )
  );
  Router::connect('/:userName', array('controller' =&gt; 'things', 'action' =&gt; 'user'),array('pass'=&gt;array('userName'))); 
  </code></pre>
  
  <p>And my Html helper:</p>
  
  <pre><code>echo $this-&gt;Html-&gt;link('View', array(
      'controller' =&gt; 'things',
      'action' =&gt; 'view',
      'username' =&gt; 'user_of_website',
      'slug' =&gt; 'a_thing'
  ),array(
      'class' =&gt; 'text-warning'
  ));
  </code></pre>
  
  <p>I really can't see what I'm doing wrong. Any help greatly appreciated.</p>
  
  <p>NB, I'm using CakePHP 2.3</p>