Combine the route patterns and handling functions into one array