diff --git a/docs/routing.md b/docs/routing.md index 1e5c0816..c07e1b81 100644 --- a/docs/routing.md +++ b/docs/routing.md @@ -21,11 +21,11 @@ async def person_handler(request, integer_arg): async def person_handler(request, number_arg): return text('Number - {}'.format(number)) -@app.route('/person/') -async def person_handler(request, person_id): - return text('Person - {}'.format(folder_id)) +@app.route('/person/') +async def person_handler(request, name): + return text('Person - {}'.format(name)) -@app.route('/folder/') +@app.route('/folder/') async def folder_handler(request, folder_id): return text('Folder - {}'.format(folder_id))