diff --git a/docs/routing.md b/docs/routing.md index 171639dc..8a1cd38b 100644 --- a/docs/routing.md +++ b/docs/routing.md @@ -21,12 +21,12 @@ 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)) -``` \ No newline at end of file +```