1

Is there a way, to have multiple routes go through to the same module ? I have tried adding the

addModuleRoutes(pattern="/blog", module="test");

to the config/Router.cfc But I just always get the error

Error loading module routes as the module requested 'test' is not loaded.

Does anyone know why the module is not being loaded ?

Chris
  • 419
  • 2
  • 16
  • Hard to tell from this snippet, but if you remove the route, reinit the app and then try to hit that module, with index.cfm?event=test:handler.action does the module work? I wonder if the folder name doesn't match "test" - common issue – Gavin Pickin Feb 18 '20 at 17:09

0 Answers0