From cd270a37444dcba6a02652269a06527b1bb1c0db Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 29 Jun 2015 10:59:35 +0200 Subject: Bugfix: the variable 'favorites' wasn't transfered to the template. --- pyaggr3g470r/views/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/views') diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index 6f17544c..77f3b147 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -293,7 +293,8 @@ def render_home(filters=None, head_titles=None, and filter_ != 'all' and not articles: return redirect(gen_url(filter_='all')) - return render_template('home.html', gen_url=gen_url, feed_id=feed_id, + return render_template('home.html', page_to_render=page_to_render, + gen_url=gen_url, feed_id=feed_id, filter_=filter_, limit=limit, feeds=feeds, unread=unread, articles=articles, in_error=in_error, head_titles=head_titles, sort_=sort_, **kwargs) -- cgit