title: Cakephp 2 plugin routes not working in form actions
body: <p>I am making my own cakephp 2 plugin called Rma and for this plugin I made some routes. When I want to make a form linking to the edit page, the link is different from the link in my routes file. In the browser are my routes working, but cakephp generate different links when I change form actions or echo the Html Link. </p>
  
  <p>The code <code>echo $this-&gt;Html-&gt;url(array('plugin' =&gt; 'Rma', 'controller' =&gt; 'RmaRequests', 'action' =&gt; 'edit', 2));</code> gives me the following url: '/Rma/RmaRequests/edit/2' while the url in the routes file is 
  '/rma/edit/:id'. Cakephp gives me the wrong url.</p>
  
  <p>This is my routes.php in the plugin config folder (app/Plugin/Rma/Config/routes.php):</p>
  
  <pre><code>
  Router::connect('/rma/new', [
      'plugin' =&gt; 'Rma',
      'controller' =&gt; 'RmaRequests',
      'action' =&gt; 'add'
  ]);
  Router::connect('/rma/edit/:id', [
      'plugin' =&gt; 'Rma',
      'controller' =&gt; 'RmaRequests',
      'action' =&gt; 'edit'
  ],
      array(
          // order matters since this will simply map ":id" to
          // $articleId in your action
          'pass' =&gt; array('id'),
          'id' =&gt; '[0-9]+'
      ));
  
  Router::connect('/rma/new/:id/', array(
      'plugin' =&gt; 'Rma', 'controller' =&gt; 'RmaRequestProducts', 'action' =&gt; 'add'),
      array(
          // order matters since this will simply map ":id" to
          'pass' =&gt; array('id'),
          'id' =&gt; '[0-9]+'
      )
  );
  </code></pre>
  
  <p>I've also tried to place the route in my application routes.php, but that still doesn't solve the problem. </p>
  
  <p>This is the way how I load my plugin in app/Config/bootstrap.php:
  <code>CakePlugin::load('Rma', array('routes' =&gt; true, 'bootstrap' =&gt; true));</code></p>
  
  <p>Is there something I forgot or something that I did wrong? I am using CakePHP version 2.5.1</p>