From 57824936873752115e531795dfdc43fdcd1b2587 Mon Sep 17 00:00:00 2001 From: Hechen Gao Date: Wed, 21 Oct 2015 15:16:32 -0700 Subject: [PATCH] Fix incorrect url_for route --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index e1da1e2..4b5700a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -129,7 +129,7 @@ request. This function must be decorated as from flask import redirect - @app.route('/oauth-authorized') + @app.route('/oauth_authorized') @twitter.authorized_handler def oauth_authorized(resp): next_url = request.args.get('next') or url_for('index')