aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 21:27:11 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 21:27:11 +0200
commit2ec87b7246276e62a5e075a60d945f68619893ba (patch)
tree9311afbec0d22032495e053e5a05e9a2412b9c86 /pyaggr3g470r
parentFixed bug. (diff)
downloadnewspipe-2ec87b7246276e62a5e075a60d945f68619893ba.tar.gz
newspipe-2ec87b7246276e62a5e075a60d945f68619893ba.tar.bz2
newspipe-2ec87b7246276e62a5e075a60d945f68619893ba.zip
Check if user can access to the article.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 3387f0f9..6560e92f 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -91,7 +91,7 @@ def load_user(email):
# Return an instance of the User model
return User.query.filter(User.email == email).first()
-def redirect_url(default='index'):
+def redirect_url(default='home'):
return request.args.get('next') or \
request.referrer or \
url_for(default)
bgstack15