aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-29 10:59:35 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-29 10:59:35 +0200
commitcd270a37444dcba6a02652269a06527b1bb1c0db (patch)
tree30238ad0666db183b1ba2bdea579b2d1b10c6aff /pyaggr3g470r/views/views.py
parentTypo. (diff)
downloadnewspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.tar.gz
newspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.tar.bz2
newspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.zip
Bugfix: the variable 'favorites' wasn't transfered to the template.
Diffstat (limited to 'pyaggr3g470r/views/views.py')
-rw-r--r--pyaggr3g470r/views/views.py3
1 files changed, 2 insertions, 1 deletions
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)
bgstack15