Fix typo in documentation

This commit is contained in:
Karolis Mažukna 2017-07-25 13:29:17 +03:00 committed by GitHub
parent eb06e6ba51
commit 621343112d

View File

@ -10,11 +10,11 @@ You can pass a version number to the routes directly.
from sanic import response
@app.route('/text', verion=1)
@app.route('/text', version=1)
def handle_request(request):
return response.text('Hello world! Version 1')
@app.route('/text', verion=2)
@app.route('/text', version=2)
def handle_request(request):
return response.text('Hello world! Version 2')