diff --git a/http/factory/module.go b/http/factory/module.go index 3f0af39..516063a 100644 --- a/http/factory/module.go +++ b/http/factory/module.go @@ -58,6 +58,9 @@ func (m *Module) Create( return err } + // Register the controller routes + m.controller.RegisterRoutes() + // Create the submodules controllers router router := m.controller.GetRouter() for _, submodule := range m.submodules {