the idea is that this function would look at the configuration of the route to determine the controller/template etc