[eluser]IvanBlue[/eluser]
Solved! The usual pattern in segment is example.com/class/method/id/ so I can change the
routes.php file so everything that gets after the class name is redirected to the appropriate method instead of being process inside index. I use a wildcard to do this:
Code:
$route['comercios/:any'] = "comercios/category";
It works perfectly ^_^