title: redirect with route on codeigniter
body: <p>I am trying to routing the url to some Controllers that are in different folder than the url show... I think it is better an example, I have something like this:</p>
  
  <pre><code>$route['admin']             = 'admin/admin';
  $route['admin/register']    = 'admin/login/register';
  $route['admin/newuser']     = 'admin/login/newuser';
  $route['admin/logout']      = 'admin/login/logout';
  $route['admin/login']       = 'admin/login';
  $route['']                  = 'admin/admin';
  </code></pre>
  
  <p>All of them are working, but last. What I want to do is that someone type www.mydomain.com the system use the controller admin (placed on the folder admin), but  I am getting a 404 always. </p>
  
  <p>A fast, but not elegant solution I am thinking (but I wouldn´t want to do) is modifying the 404 file and test if there is no segment, and then redirect. </p>
  
  <p>Any other idea?? Thank you.</p>