Resourceful Routes

Description

In ColdBox, you can register resourceful routes to provide automatic mappings between HTTP verbs and URLs to event handlers and actions. Be convention, all resources map to a handler with the same name or can be customized if needed. You will have two methods:

This single route declaration will create all the necessary variations of patterns to actions to handle the resource. It will even create named routes for you.

RESTFul Resources

If you pass in an argument called restful, then we will create only the true RESTFul routes below.

Routing Table

See attached screenshot

Assignee

Luis Majano

Reporter

Luis Majano

Labels

None

Components

Fix versions

Priority

Major
Configure