From ea60cca948469daaff940698f27f3cb9a53300c3 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sun, 12 Apr 2015 14:28:03 +0200 Subject: making the favorites link switch to home when the displayed page is favorites --- pyaggr3g470r/views/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/views') 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) -- cgit