From 4933e9d6abffe020401b71455a4724d58e58ce5c Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 5 Sep 2013 09:33:30 +1000 Subject: [PATCH] todo added to code --- lib/topic_view.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/topic_view.rb b/lib/topic_view.rb index bdece17c8c2..cf088d39d8c 100644 --- a/lib/topic_view.rb +++ b/lib/topic_view.rb @@ -84,6 +84,7 @@ class TopicView def summary return nil if desired_post.blank? + # TODO, this is actually quite slow, should be cached in the post table Summarize.new(desired_post.cooked).summary end