The router block at the top plus:
class MyResource: def GET(self,...): ... def POST(self,...): ... def PUT(self,...): ... def DELETE(self,...): ...
The router block at the top plus:
Looks really nice. Haven't tried serving or rendering templates from it, so never tested that code.