From 195f707f140fb3f29c9c625157b03f693c499c52 Mon Sep 17 00:00:00 2001 From: lixxu Date: Wed, 6 Sep 2017 19:19:59 +0800 Subject: [PATCH] missing '/' in doc --- docs/sanic/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sanic/routing.md b/docs/sanic/routing.md index 7a562b66..98179e17 100644 --- a/docs/sanic/routing.md +++ b/docs/sanic/routing.md @@ -323,7 +323,7 @@ app.blueprint(bp) # then build the url app.url_for('static', filename='file.txt') == '/static/file.txt' app.url_for('static', name='static', filename='file.txt') == '/static/file.txt' -app.url_for('static', name='uploads', filename='file.txt') == 'uploads/file.txt' +app.url_for('static', name='uploads', filename='file.txt') == '/uploads/file.txt' app.url_for('static', name='best_png') == '/the_best.png' # blueprint url building