ColdBox BE

15 views
Skip to first unread message

Jeremy R DeYoung

unread,
May 6, 2016, 8:39:11 PM5/6/16
to ColdBox Platform
is there a way to route ALL request going to a specific path for example /api to always point to the API module no matter what the following actions/events/params?

so /api/blah/blah would always be handled by a default "catch" event?

I know this is possible via an interceptor but I was curious if there was a simple coldbox 'config' to point a module's missing events to a specific handler/action?

Brad Wood

unread,
May 7, 2016, 1:16:53 AM5/7/16
to col...@googlegroups.com
Can you just register a route for that pattern and point it to your catch all event?



Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/CAFy17umuyvzUHUg-1N0Zma8qZGSh4JYYfiO%2BKM9Hh8%3D%3Dyjunyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages