From f5cc13db2ad7f7b42da1506dd535040ab0f67785 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 14 Jan 2013 11:19:46 -0800 Subject: [PATCH] Use profile page mode for all /comments/gilded listings. --- r2/r2/controllers/listingcontroller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 3377685d9..d009d99a5 100755 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -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)