igfs/rout.php

9 lines
239 B
PHP
Raw Normal View History

2024-07-29 15:57:20 +03:00
<?php
use app\controllers\MainController;
use kernel\App;
use Phroute\Phroute\RouteCollector;
App::$collector->get('/', [MainController::class, 'actionIndex']);
2024-09-03 16:29:44 +03:00
App::$collector->get('/example', [MainController::class, 'actionExample']);