Merge pull request #252 from AntonDnepr/misprints
Small docs improvements
This commit is contained in:
commit
73a57e1105
|
@ -33,12 +33,12 @@ async def handler1(request):
|
||||||
return text('OK')
|
return text('OK')
|
||||||
app.add_route(handler1, '/test')
|
app.add_route(handler1, '/test')
|
||||||
|
|
||||||
async def handler(request, name):
|
async def handler2(request, name):
|
||||||
return text('Folder - {}'.format(name))
|
return text('Folder - {}'.format(name))
|
||||||
app.add_route(handler, '/folder/<name>')
|
app.add_route(handler2, '/folder/<name>')
|
||||||
|
|
||||||
async def person_handler(request, name):
|
async def person_handler2(request, name):
|
||||||
return text('Person - {}'.format(name))
|
return text('Person - {}'.format(name))
|
||||||
app.add_route(handler, '/person/<name:[A-z]>')
|
app.add_route(person_handler2, '/person/<name:[A-z]>')
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user