From 621343112d13010a228b39766c3b805ae8bd8993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karolis=20Ma=C5=BEukna?= Date: Tue, 25 Jul 2017 13:29:17 +0300 Subject: [PATCH] Fix typo in documentation --- docs/sanic/versioning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sanic/versioning.md b/docs/sanic/versioning.md index 85cbd278..ab6dab22 100644 --- a/docs/sanic/versioning.md +++ b/docs/sanic/versioning.md @@ -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')