In CodeIgniter's routes file, it is possible to map URLs to controller methods like this:
$route['url/segment/(:num)'] = 'controller/methodasdf/$1';
It works great, but what I'd like to do is stop the user calling the end route directly (methodasdf). I've tried setting the methods to private and prefixing them with an underscore, but that just results in a 404 error.