title: cakephp routes modify controllers name / fetching controllers name
body: <p>I created a route which is analog to this one:</p>
  
  <pre><code>Router::connect("/backend/:controller/:action/*");
  </code></pre>
  
  <p>And now I want to route every controller that fits this pattern to be renamed to something like backend_:controller.</p>
  
  <p>Somehow like that:</p>
  
  <pre><code>Router::connect("/backend/:controller/:action/*", array('controller' =&gt; 'backend_:controller'));
  </code></pre>
  
  <p>Example: If the URL www.example.com/backend/settings/myaction is called, it would route to the controller "backend_settings" and invoke the action "myaction"!</p>
  
  <p>But on the other hand, if some called www.example.com/settings, it would route to the controller "settings".</p>
  
  <p>The URL is supposed to stay the way it was called, cakePHP should only use a modified controller name!</p>
  
  <p>I hope someone can point me to the best solution I am supposed to use for this problem. Thanks in advance!</p>