Changeset - 69cd0c056aa1
default
0
3
0
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.
3 files changed with 13 insertions and 16 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)