From 268a87e3b44a70800ee0feb44d2391abfe0e241c Mon Sep 17 00:00:00 2001 From: Roger Erens Date: Fri, 21 Oct 2016 23:47:13 +0200 Subject: [PATCH] Fix typos I guess renaming was forgotten in a copy-n-paste frenzy?! --- docs/routing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/routing.md b/docs/routing.md index 4dbccadf..bca55919 100644 --- a/docs/routing.md +++ b/docs/routing.md @@ -10,15 +10,15 @@ from sanic import Sanic from sanic.response import text @app.route('/tag/') -async def person_handler(request, tag): +async def tag_handler(request, tag): return text('Tag - {}'.format(tag)) @app.route('/number/') -async def person_handler(request, integer_arg): +async def integer_handler(request, integer_arg): return text('Integer - {}'.format(integer_arg)) @app.route('/number/') -async def person_handler(request, number_arg): +async def number_handler(request, number_arg): return text('Number - {}'.format(number_arg)) @app.route('/person/')