mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
todo added to code
This commit is contained in:
parent
d76486a48b
commit
4933e9d6ab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user