mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7615 from zarocknz/patch-1
Update 05_Middlewares.md
This commit is contained in:
commit
d338c33f4c
@ -19,7 +19,7 @@ will deliberately return a different response, e.g. an error response or a redir
|
||||
**mysite/code/CustomMiddleware.php**
|
||||
|
||||
```php
|
||||
use SilverStripe\Control\Middleware\HTTPMiddleware
|
||||
use SilverStripe\Control\Middleware\HTTPMiddleware;
|
||||
use SilverStripe\Control\HTTPRequest;
|
||||
|
||||
class CustomMiddleware implements HTTPMiddleware
|
||||
|
Loading…
Reference in New Issue
Block a user