title: CakePHP 2.5 routes within /admin section
body: <p>I feel like there ought to be, and probably is, an easy solution to this.</p>
  
  <p>The site I'm building will have an admin interface which is where all of the CakePHP functionality will live.  The admin interface will generate static files that are then served as the frontend of the site.</p>
  
  <p>I would like all of the admin pages to live under /admin, so...</p>
  
  <pre><code>/admin/users/login
  /admin/users/index
  /admin/page/edit/x
  /admin/module/add
  </code></pre>
  
  <p>etc, etc.</p>
  
  <p>All of the generated content will live off of / so the only "page" that cannot be created as content is /admin and anything that exists, literally, within the document root (index.php, etc).  Basically, I want to avoid polluting the root "directory space" with a bunch of Cake's virtual paths/routes.</p>
  
  <p>I have looked at the <code>Route::connect</code> and associated documentation as well as the HTML link helper docs related to things like <code>"prefix" =&gt; "admin"</code> and <code>"admin" =&gt; true</code> and I just cannot figure out how to make this work.</p>
  
  <p>In an ideal setup all <code>/admin/fizz/buzz/1</code> type URLs would execute as though they were actually <code>/fizz/buzz/1</code> in a plain-vanilla CakePHP deployment, and all of the:</p>
  
  <p><code>$this-&gt;Html-&gt;link('label', array('controller' =&gt; 'foo', 'action' =&gt; 'bar', 3));</code></p>
  
  <p>helper generated equivalent URLs like <code>/admin/foo/bar/3</code></p>
  
  <p>How do I go about this?</p>