ModuleService to add default route doesn't work correctly

Description

The module service has a check to see if there is a route called "/:handler/:action?" but that route never exists because the ? is never part of the added route. This causes the module service to add the default route again even if it is already there to begin with. You can verify this by using the route visualizer to look at the route for a module that already has the default route in it's router.cfc. It's added twice.

Status

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major