arillo/silverstripe-fluent-misdirection

Elements

dev-master 2021-06-29 11:14 UTC

This package is auto-updated.

Last update: 2024-11-29 06:41:26 UTC


README

Replacement of MisdirectionRequestFilter for interop with Fluent.

Config

Add a config file e.g. misdirection.yml with the following contents:

---
name: arillo-misdirection-request-filters
After:
  - '#misdirection-request-filters'
---
SilverStripe\Core\Injector\Injector:
  SilverStripe\Control\RequestProcessor:
    properties:
      filters:
        - '%$Arillo\Misdirection\FluentMisdirectionRequestFilter'