From 6d6efc07c98fdda282cf25785975f043fa7bc053 Mon Sep 17 00:00:00 2001 From: Scipetr Date: Fri, 6 Apr 2012 07:22:56 -0700 Subject: [PATCH] Revert 68d24cd49e765018052bb379872e7d962c03bffd^ ... 68d24cd49e765018052bb379872e7d962c03bffd --- Large-app-how-to.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Large-app-how-to.md b/Large-app-how-to.md index 6e9b833..66d5f71 100644 --- a/Large-app-how-to.md +++ b/Large-app-how-to.md @@ -274,7 +274,7 @@ This decorator is checking that g.user has a value assigned to it, otherwise it # it's a safe place to store the user id session['user_id'] = user.id flash('Welcome %s' % user.name) - return redirect(url_for('user.home')) + return redirect(url_for('users.home')) flash('Wrong email or password', 'error-message') return render_template("users/login.html", form=form) @@ -298,7 +298,7 @@ This decorator is checking that g.user has a value assigned to it, otherwise it # flash will display a message to the user flash('Thanks for registering') # redirect user to the 'home' method of the user module. - return redirect(url_for('user.home')) + return redirect(url_for('users.home')) return render_template("users/register.html", form=form) ```