From 4cc22a55a0eee06ce31561f04eab03dd0a5d182f Mon Sep 17 00:00:00 2001
From: riking <rikingcoding@gmail.com>
Date: Mon, 2 Mar 2015 11:00:19 -0800
Subject: [PATCH] Remove topic_auto_close at from PostSerializer

We should look at extracting some of the cruft from these repsonses.
---
 app/serializers/post_serializer.rb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/app/serializers/post_serializer.rb b/app/serializers/post_serializer.rb
index 3496159a528..412aea761a5 100644
--- a/app/serializers/post_serializer.rb
+++ b/app/serializers/post_serializer.rb
@@ -27,7 +27,6 @@ class PostSerializer < BasicPostSerializer
              :yours,
              :topic_id,
              :topic_slug,
-             :topic_auto_close_at,
              :display_username,
              :primary_group_name,
              :version,
@@ -72,10 +71,6 @@ class PostSerializer < BasicPostSerializer
     object.try(:topic).try(:slug)
   end
 
-  def topic_auto_close_at
-    object.try(:topic).try(:auto_close_at)
-  end
-
   def moderator?
     !!(object.try(:user).try(:moderator?))
   end