Creating New Routes
Routes are like this /home or /api
// src/Routes.php
...
public $routes = [
'/new_route_name' => array(
'controller' => "YourControllerName",
'route' => "index"
),
];
...
Last updated
Routes are like this /home or /api
// src/Routes.php
...
public $routes = [
'/new_route_name' => array(
'controller' => "YourControllerName",
'route' => "index"
),
];
...
Last updated