Merge pull request #866 from Nikamura/patch-1
Fix typo in documentation
This commit is contained in:
commit
8118e542fb
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user