diff options
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
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) |