[eluser]CroNiX[/eluser]
Code:
//pass it to a method in your controller, not just the controller (unless using _remap())
$route['aaa-(:any)'] = "aaa/process/$1";
class aaa extends CI_Controller
{
//receive parameter 1 passed from the route into the process() method
//(with a default of empty string so no error going to http://yoursite.com/aaa))
function process($parameter1 = '')
{
if($parameter1 == '')
{
$parameter1 = 'Not Set';
}
echo 'parameter1: ' . $parameter1;
}
}