[3.5…] ModuleConfig.cfc Routes

Is it possible to use the json syntax to assign a specific action based on the HTTP method within ModuleConfig.cfc?

I have this:
routes = [
{pattern="/forgot-password",handler=“Account”, action=“forgotPassword”},
{pattern="/register", handler=“Account”, action="{‘GET’:‘registration’,‘POST’:‘create’}"}
];

Which, renders an event value like:
my-module:Account.{‘GET’:‘registration’,‘POST’:‘create’}

If not, what would the recommended way to set this up within a module be?

Ben,

This should work to split the route based on the HTTP verb.

Curt

Yep. But use implicit struct notation