2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

todo added to code

This commit is contained in:
Sam 2013-09-05 09:33:30 +10:00
parent d76486a48b
commit 4933e9d6ab

View file

@ -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