silverstripe-widgets/_config/contentcontroller-url-handler.yml
Sam Minnee 025ee424c4 NEW: Add an extension that provides the <page-url>/widget/<widget-id> URL as part of the widgets module. (Trac #7174)
The handleWidget() method used to be part of core, and it's now been turned into the extension included here.
2012-06-22 14:04:21 +12:00

8 lines
165 B
YAML

---
Name: contentcontroller-url-handler
---
ContentController:
extensions:
- WidgetContentControllerExtension
url_handlers:
'widget/$ID!': 'handleWidget'