...
This commit is contained in:
parent
6b926d3afe
commit
b716ab5836
4 changed files with 3 additions and 10 deletions
|
|
@ -3,13 +3,6 @@ php spark make:controller Api/Auth --suffix --restful
|
|||
```
|
||||
|
||||
|
||||
Routes.php
|
||||
```php
|
||||
//Get
|
||||
$routes->get("logout", "AuthController::logout", ["filter" => "apiauth"]);
|
||||
```
|
||||
|
||||
|
||||
Api/AuthController.php
|
||||
```php
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue