title: Routes not working codeigniter
body: <p>Routes not working and default controller showing error 404 when I am setting welcome as a default controller then all routes defined with the welcome controller working but my other routes and url not working.</p>
  
  <pre><code>$route['default_controller'] = "welcome";
  $route['testRoute'] = 'welcome/test';
  $route['testRoute/(:num)'] = 'welcome/test/$i';
  </code></pre>
  
  <p>All above routes are working with only welcome controller.</p>
  
  <pre><code>$route['default_controller'] = "login";
  $route['loginMe'] = 'login/loginMe';
  $route['logout'] = 'user/logout';
  </code></pre>
  
  <p>Showing error 404 for all controllers and functions.</p>