mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: add liked and bookmarked classes to topic list item rows
This commit is contained in:
parent
df7def6628
commit
3347a48275
7 changed files with 115 additions and 2 deletions
|
@ -89,6 +89,7 @@ class PostDestroyer
|
|||
end
|
||||
update_associated_category_latest_topic
|
||||
update_user_counts
|
||||
TopicUser.update_post_action_cache(topic_id: @post.topic_id)
|
||||
end
|
||||
|
||||
@post.publish_change_to_clients! :deleted if @post.topic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue