mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
FEATURE: Invalidate broken images cache on Rebuild HTML action
This commit is contained in:
@ -513,7 +513,7 @@ class PostsController < ApplicationController
|
||||
guardian.ensure_can_rebake!
|
||||
|
||||
post = find_post_from_params
|
||||
post.rebake!(invalidate_oneboxes: true)
|
||||
post.rebake!(invalidate_oneboxes: true, invalidate_broken_images: true)
|
||||
|
||||
render body: nil
|
||||
end
|
||||
|
Reference in New Issue
Block a user