Is there are way to use Director::addRules() to route to a particular action on a controller? For example, I want to do something like
Director::addRules(10, array(
'confirm//$ID' => array('Controller'=>'AccountPage_Controller', 'Action' => 'confirm')
));
So if someone visits /confirm/23 it'll go to AccountPage_Controller::confirm() (and pass ID = 23 in $request).