mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:41:13 +08:00
todo added to code
This commit is contained in:
@ -84,6 +84,7 @@ class TopicView
|
|||||||
|
|
||||||
def summary
|
def summary
|
||||||
return nil if desired_post.blank?
|
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
|
Summarize.new(desired_post.cooked).summary
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user