mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
fix meta reddit menu bug by making the unique identifier for reddits be the path rather than the name
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user