Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite routing using new MGRoute class | Elrond | 2012-12-23 | 1 | -12/+15 |
| | | | | | | | | | | | MGRoute subclasses Rule(): Rule doesn't have a way to tag extra data, like the controller function, we need. So MGRoute has a new attribute .gmg_controller, which holds this. Rewrite everything to use this new Rule variant and drop all the other stuff that mapped endpoints to controller functions, mostly. | ||||
* | Move things from routing.py to tools/routing.py | Elrond | 2012-12-23 | 1 | -0/+63 |
This stops a cyclic import. Move add_route, mount and endpoint_to_controller into tools/routing.py and change all callers. |