I want to know how can I create routes for a controller function which needs an argument to be passed.
Like if I create a function like this:
function abc($arg)
{
return $arg;
}
Then how can I specify a route for the same function? My argument will be containing a mixture of alphabets and numbers
Add this to your APP_PATH/application/config/routes.php
for more details http://codeigniter.com/user_guide/general/routing.html