Skip to content

Commit 8701f3e

Browse files
authored
Merge pull request #52 from svenluijten/patch-1
Fix links to requests and responses
2 parents c93a2e7 + e5461e3 commit 8701f3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Front/Docs/Content/framework/03-controllers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ final readonly class BookController
139139
}
140140
```
141141

142-
A full overview of `Request` objects can be found [here](https://github.com/tempestphp/tempest-framework/blob/main/src/Tempest/Http/src/Request.php).
142+
A full overview of `Request` objects can be found [here](https://github.com/tempestphp/tempest-framework/blob/main/src/Tempest/Router/src/Request.php).
143143

144144
### A note on data mapping
145145

@@ -232,7 +232,7 @@ If you're returning responses Tempest has a bunch of responses built-in:
232232
- `{php}Redirect` — the redirect response
233233
- `{php}ServerError` — a 500 server error response
234234

235-
A full overview of responses can be found [here](https://github.com/tempestphp/tempest-framework/tree/main/src/Tempest/Http/src/Responses).
235+
A full overview of responses can be found [here](https://github.com/tempestphp/tempest-framework/tree/main/src/Tempest/Router/src/Responses).
236236

237237
Returning responses from controllers looks like this:
238238

@@ -477,4 +477,4 @@ final readonly class PageVisitedMiddleware implements HttpMiddleware
477477
}
478478
```
479479

480-
Note that task deferring only works if [`fastcgi_finish_request()`](https://www.php.net/manual/en/function.fastcgi-finish-request.php) is available within your PHP installation. If it's not available, deferred tasks will still be run, but the client response will only complete after all tasks have been finished as well.
480+
Note that task deferring only works if [`fastcgi_finish_request()`](https://www.php.net/manual/en/function.fastcgi-finish-request.php) is available within your PHP installation. If it's not available, deferred tasks will still be run, but the client response will only complete after all tasks have been finished as well.

0 commit comments

Comments
 (0)