title: Route to multiple sub folders in CodeIgniter
body: <p>I have a admin folder set up in my controllers directory, under that i have 3 seperate sub-folders with controllers inside of them.</p>
  
  <pre><code>-- Controllers
  ---- Admin
  ------ Dashboard
  -------- dashboard.php
  -------- file.php
  ------ Members
  -------- members.php
  -------- file.php
  ------ Settings
  -------- settings.php
  -------- file.php
  </code></pre>
  
  <p>I tried routing it in the routes.php file like this</p>
  
  <pre><code>$route['admin/(:any)/(:any)'] = 'admin/$1/$2';
  $route['admin/(:any)'] = 'admin/$1/$1';
  $route['admin'] = 'admin/index';
  </code></pre>
  
  <p>What do I do to fix this?</p>