Skip to content

Commit a3efa82

Browse files
committed
docs: split code block
1 parent 2845356 commit a3efa82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/addons/jwt.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,12 @@ Here is a sample controller. When a client posts valid credentials (email/passwo
103103
it returns a new JWT.
104104

105105
```php
106-
// Routes.php
106+
// app/Config/Routes.php
107107
$routes->post('auth/jwt', '\App\Controllers\Auth\LoginController::jwtLogin');
108+
```
108109

109-
// LoginController.php
110+
```php
111+
// app/Controllers/Auth/LoginController.php
110112
namespace App\Controllers\Auth;
111113

112114
use App\Controllers\BaseController;

0 commit comments

Comments
 (0)