From 113047d450e53000e588dd158d715f3e993ac38f Mon Sep 17 00:00:00 2001 From: narzeja Date: Sat, 22 Oct 2016 07:13:14 +0200 Subject: [PATCH] Simple blueprint was missing the 'request' parameter --- docs/blueprints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blueprints.md b/docs/blueprints.md index 7a4567ee..4fcbcffb 100644 --- a/docs/blueprints.md +++ b/docs/blueprints.md @@ -29,7 +29,7 @@ from sanic import Blueprint bp = Blueprint('my_blueprint') @bp.route('/') -async def bp_root(): +async def bp_root(request): return json({'my': 'blueprint'}) ```