https://github.com/arillo/silverstripe-fluent-misdirection
https://github.com/arillo/silverstripe-fluent-misdirection
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arillo/silverstripe-fluent-misdirection
- Owner: arillo
- Created: 2021-05-06T10:15:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T11:14:42.000Z (about 5 years ago)
- Last Synced: 2025-01-18T15:51:55.668Z (over 1 year ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arillo/silverstripe-fluent-misdirection
Replacement of MisdirectionRequestFilter for interop with Fluent.
## Config
Add a config file e.g. `misdirection.yml` with the following contents:
```yaml
---
name: arillo-misdirection-request-filters
After:
- '#misdirection-request-filters'
---
SilverStripe\Core\Injector\Injector:
SilverStripe\Control\RequestProcessor:
properties:
filters:
- '%$Arillo\Misdirection\FluentMisdirectionRequestFilter'
```