lib/config.php:
<?php
    
function createViewezcMvcRoutingInformation $routeInfoezcMvcRequest $requestezcMvcResult $result )
    {
        switch ( 
$routeInfo->matchedRoute )
        {
            case 
'/':
                
$view->contentTemplate 'home.ezt'; break;
            case 
'/register/submit':
                
$view->contentTemplate 'register-submit.ezt'; break;
            case 
'/register':
                
$view->contentTemplate 'register.ezt'; break;
            case 
'/login-required':
                
$view->contentTemplate 'login.ezt'; break;
        }
    }
?>