...
This commit is contained in:
parent
6b926d3afe
commit
b716ab5836
4 changed files with 3 additions and 10 deletions
|
|
@ -9,7 +9,7 @@ service('auth')->routes($routes)
|
|||
|
||||
```php
|
||||
// API routes (put below service('auth'))
|
||||
$routes->group("api", ["namespace" => "App\Controller\Api"], function($routes) {
|
||||
$routes->group("api", ["namespace" => "App\Controllers\Api"], function($routes) {
|
||||
$routes->post("register", "AuthController::register");
|
||||
$routes->post("login", "AuthController::login");
|
||||
$routes->get("profile", "AuthController::profile");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue