my_controller/index | my-controller/my-method -> my_controller/my_method */ $route['default_controller'] = 'home'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; $route['api/upload'] = 'upload/localhost';