BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Internals ยป Routing

Every request to a page on a Bolt website is routed to a Silex controller, regardless of whether the request is for a page in the 'backend', 'frontend' or 'asynchronous'.

There are four files that contain the controller collections, located in src/Controllers/: Backend.php, Frontend.php, Async.php and Routing.php.

As such, they are all in the \Bolt\Controllers namespace. They are 'set up' in src/Application.php.

You can modify the routing.yml to suit your own needs. Examples are included.


Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.