I have this:
$route['(:any)'] = "front/$1"; // front
$route['admin/(:any)'] = "admin/$1"; // admin
i want to make url like this:
mysite.com/en/somecontroller/somemethod
mysite.com/ru/somecontroller/somemethod
etc...
i guess something like this:
$route['(:any)'] = "front/$1"; // front
$route['(:any)/(:any)'] = "front/$2";
$route['admin/(:any)'] = "admin/$1"; // admin
$route['(:any)/admin/(:any)'] = "admin/$2";
but I get errors when the first segment is language, CI thinks that is a controller