Use profile page mode for all /comments/gilded listings.

This commit is contained in:
Neil Williams
2013-01-14 11:19:46 -08:00
parent 453149b729
commit f5cc13db2a

View File

@@ -1064,6 +1064,5 @@ class GildedController(ListingController):
abort(404)
def GET_listing(self, **env):
if isinstance(c.site, FakeSubreddit):
c.profilepage = True
c.profilepage = True
return ListingController.GET_listing(self, **env)