Files
@ 69cd0c056aa1
Branch filter:
Location: kallithea/scripts/logformat.py
69cd0c056aa1
1.7 KiB
text/x-python
config: initialize routes directly from RootController
Let RootController directly initialize routes instead of app_cfg injecting
the mapper.
For test initialization, we also need a handle to the mapper. We could
either recreate it (but fragile if the real mapper initialization is changed
later) or obtain it from a fresh RootController. This commit opts for the
latter.
Let RootController directly initialize routes instead of app_cfg injecting
the mapper.
For test initialization, we also need a handle to the mapper. We could
either recreate it (but fragile if the real mapper initialization is changed
later) or obtain it from a fresh RootController. This commit opts for the
latter.