# routes

Additional route setup for Kirby's internal router

****

- Read more: <https://getkirby.com/docs/guide/routing>

****

The routes option accepts an array of routes.

```php
return [
 'routes' => [
    [
      'pattern' => 'team/(:any)',
      'action'  => function ($hash) {
        return go('team/#' . $hash);
       }
    ],
  ]
];
```