123456789101112131415 |
- <?php
-
- /**
- * @var $route \Luticate\Utils\Controller\LuRoute
- */
- $route = $app->getRouter();
-
- //$route->addMiddleware(['middleware' => 'App\Middleware\TestMiddleware', "parameters" => ["test" => "lol"]]);
-
- //$route->get("/{test}", "Test", "test", ["permissions" => ["LU_PERMISSION"], "test2" => "lol2_"],
- // [['middleware' => 'App\Middleware\Test2Middleware', "parameters" => ["test2" => "lol2"]]]);
-
- $route->get("/routes", "Routes", "getAll");
-
- $route->get("/stops", "Stops", "getAll");
|