# HG changeset patch # User Mads Kiilerich # Date 2020-10-10 21:33:42 # Node ID f66a13a8ab990a8a8bf93cbd999da4a1f23093da # Parent bc1fff7ae770b5d177fb91222faf951462f0e7e9 routing: move config.routing to kallithea.controllers Routing doesn't belong in config. Having it there caused unfortunate dependencies. We do routing the old way. If we did it the new way, it would be defined in the root controller. But for now, we just place it next to the root controller. diff --git a/kallithea/controllers/root.py b/kallithea/controllers/root.py --- a/kallithea/controllers/root.py +++ b/kallithea/controllers/root.py @@ -14,8 +14,8 @@ from tg import config from tgext.routes import RoutedController -from kallithea.config.routing import make_map from kallithea.controllers.error import ErrorController +from kallithea.controllers.routing import make_map from kallithea.lib.base import BaseController diff --git a/kallithea/config/routing.py b/kallithea/controllers/routing.py rename from kallithea/config/routing.py rename to kallithea/controllers/routing.py