engelsystem/config/routes.php

13 lines
252 B
PHP

<?php
use FastRoute\RouteCollector;
/** @var RouteCollector $route */
// Pages
$route->get('/credits', 'CreditsController@index');
// Stats
$route->get('/metrics', 'Metrics\\Controller@metrics');
$route->get('/stats', 'Metrics\\Controller@stats');