[coldbox:14571] [ColdBox-3.5.0] About SESroute

Can you show us your routes config?

Brad

This should work:

// This route has a third param. Anything like /page/24/{something_else} or even /page/24/{something_else}/{something_else}/
// will trigger this route
addRoute(pattern=“page/:id/:foobar”,handler=“main”,action=“onMissingTemplate”);

addRoute(pattern=“page/:id”,handler=“general”,action=“struttura”);

Yeah, it works. It’s so simple to use a wrong route to obtain what I want, if I understand the code…

Many thanks man.