silverstripe-widgets/_config/contentcontroller-url-handler.yml

9 lines
233 B
YAML

---
Name: widgetscontentcontrollerurlhandler
---
SilverStripe\CMS\Controllers\ContentController:
extensions:
- SilverStripe\Widgets\Controllers\WidgetContentControllerExtension
url_handlers:
'widget/$ID!': 'handleWidget'