connect('/', ['controller' => 'OrderPayment', 'action' => 'display']); $routes->connect('/delivery', ['controller' => 'Delivery', 'action' => 'display']); $routes->connect('/delivery/:city', ['controller' => 'Delivery', 'action' => 'display'], ['city' => '\w+', 'pass' => ['city']]); $routes->fallbacks(DashedRoute::class); });