protected function get_custom_routes() {
	$routes = [];
	
	// map to a file
	$routes['GET']['foo'] = 'bar';
	
	// map to a method
	$accept = fem\request::get_primary_accept(); // html, json, etc.
	$routes['GET']['foo'] = 'bar->'.$accept;
	$routes['GET']['foo'] = 'bar::'.$accept;
	
	// map to an inline function
	$routes['GET']['foo'] = function($url, $method){};
	$routes['GET']['foo'] = function($url, $method, $arguments){ echo 'baz'; };
	
	return $routes;
}