title: Kohana routing - subfolders
body: <p>Hy.
  I have 2 controllers, the first one <em>application/classes/controller/welcome.php</em> and the second one <em>application/classes/controller/admin/welcome.php</em>.</p>
  
  <p>And I have the following routings, set in bootstrap.php</p>
  
  <pre><code>Route::set('admin', '(&lt;directory&gt;(/&lt;controller&gt;(/&lt;action&gt;(/&lt;id&gt;))))', array('directory' =&gt; '(admin)'))
      -&gt;defaults(array(
          'directory'  =&gt; 'admin',
          'controller' =&gt; 'welcome',
          'action'     =&gt; 'index',
      ));
  
  Route::set('default', '(&lt;controller&gt;(/&lt;action&gt;(/&lt;id&gt;)))')
      -&gt;defaults(array(
          'controller' =&gt; 'welcome',
          'action'     =&gt; 'index',
      ));
  </code></pre>
  
  <p>If I access <em>example.com/welcome</em> it calls <em>index</em> action from the <em>application/classes/controller/welcome.php</em> controller (this is good),
  if I access <em>example.com/admin/welcome</em> it calls <em>index</em> action from <em>application/classes/controller/admin/welcome.php</em> controller (this is good),</p>
  
  <p>but if I access simply <em>example.com</em>, it calls the admin's welcome and not the other one, and I can't understand why.</p>
  
  <p>I want this: if I access <em>example.com</em>, then call <em>index</em> action from <em>application/classes/controller/admin/welcome.php</em> controller.
  How can I solve this?</p>