fix meta reddit menu bug by making the unique identifier for reddits be the path rather than the name

This commit is contained in:
KeyserSosa
2009-07-07 11:00:51 -07:00
parent ac1f27bb25
commit ae1f8bad87

View File

@@ -386,7 +386,7 @@ class CachedTemplate(Templated):
# a menu is just a set of links, so we best cache against
# them.
keys = [c.user_is_loggedin, c.use_is_admin,
c.render_style, c.cname, c.lang, c.site.name,
c.render_style, c.cname, c.lang, c.site.path,
template_hash]
keys = [make_cachable(x, *a) for x in keys]