<?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
// We get a performance increase by specifying the default
// route since we don't have to scan directories.
$routes->get('/', 'Home::index');
$routes->get('/local/state/(:any)', 'ServiceArea::state/$1');
$routes->get('/local/states', 'ServiceArea::states');
$routes->get('/local/(:any)/(:any)', 'ServiceArea::city/$1/$2');