backend/rout.php
2024-09-03 16:29:44 +03:00

9 lines
239 B
PHP

<?php
use app\controllers\MainController;
use kernel\App;
use Phroute\Phroute\RouteCollector;
App::$collector->get('/', [MainController::class, 'actionIndex']);
App::$collector->get('/example', [MainController::class, 'actionExample']);