aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-04-12 14:28:03 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-04-12 14:31:06 +0200
commitea60cca948469daaff940698f27f3cb9a53300c3 (patch)
tree3566cd8c213c621c83422f9d6783e5e9f748a5ff /pyaggr3g470r/views
parentno redirect from home if no feed has been tfiltered in (diff)
downloadnewspipe-ea60cca948469daaff940698f27f3cb9a53300c3.tar.gz
newspipe-ea60cca948469daaff940698f27f3cb9a53300c3.tar.bz2
newspipe-ea60cca948469daaff940698f27f3cb9a53300c3.zip
making the favorites link switch to home when the displayed page is favorites
Diffstat (limited to 'pyaggr3g470r/views')
-rw-r--r--pyaggr3g470r/views/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py
index 512fdf06..4e610d63 100644
--- a/pyaggr3g470r/views/views.py
+++ b/pyaggr3g470r/views/views.py
@@ -265,13 +265,13 @@ def home(favorites=False):
return render_template('home.html', gen_url=gen_url, feed_id=feed_id,
filter_=filter_, limit=limit, feeds=feeds,
unread=unread, articles=articles, in_error=in_error,
- head_title=head_title,
+ head_title=head_title, favorites=favorites,
default_max_error = conf.DEFAULT_MAX_ERROR)
@app.route('/favorites')
@login_required
-def favorties():
+def favorites():
return home(favorites=True)
bgstack15