You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routes.php 670B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @var $route \Luticate\Utils\Controller\LuRoute
  4. */
  5. $route = $app->getRouter();
  6. //$route->addMiddleware(['middleware' => 'App\Middleware\TestMiddleware', "parameters" => ["test" => "lol"]]);
  7. //$route->get("/{test}", "Test", "test", ["permissions" => ["LU_PERMISSION"], "test2" => "lol2_"],
  8. // [['middleware' => 'App\Middleware\Test2Middleware', "parameters" => ["test2" => "lol2"]]]);
  9. $route->get("/routes", "Routes", "getAll");
  10. $route->get("/stops", "Stops", "getAll");
  11. $route->post("/schedules/multiple", "Schedules", "getMultiple");
  12. $route->post("/users/settings", "UsersSettings", "put");
  13. $route->get("/users/settings", "UsersSettings", "get");