Untested, but this should work:
c::set('routes', array(
array(
'pattern' => 'blog/events/archiv/(:any)/(:any)',
'action' => function($yearInfo, $monthInfo) {
site()->visit('blog/events/archiv', 'en');
$data = array('year' => $yearInfo, 'month'=>$monthInfo);
return array('blog/events/archiv', $data);
}
)
));
site()->visit()
returns the Page
object, but you don’t have to return it from your route if you need another response.