moduleConfig.cfc:
routes = [
{pattern="/case/submitted/:ID",handler=“api:case.submitted”,action="{get=‘get’}"},
{pattern="/", handler=“home”,action=“index”},
{pattern="/:handler/:action?"}
];
interceptors = [
{name=“SESInterceptor”,class=“coldbox_3_5_3.system.interceptors.SES”,properties={}},
{name=“transformerInterceptor”,class="#moduleMapping#.interceptors.Transformer",properties={}}
];
registering the SES and route in the moduleConfig, i get this:
Interceptor: SES not found in any state: postRender,onException,passwordChanged,onDeleteUser,afterInstanceAutowire,ORMPreInsert,onRequestCapture,onLogin,postProcess,preRender,onInvalidEvent,ORMPreUpdate,preEvent,onSuccessfulLogin,preProcess.
registering the SES and route in the host app, everything works fine. i would like to keep the routes in the module config because they only apply to the handlers for the module.