FIX: Endless loading post history (#28425)

This commit is contained in:
Jan Cernik
2024-08-27 07:33:13 -05:00
committed by GitHub
parent d05d23f947
commit 437d7a0ad1
4 changed files with 92 additions and 3 deletions

View File

@ -469,6 +469,8 @@ class PostsController < ApplicationController
post.public_version -= 1
post.save
post.publish_change_to_clients!(:revised)
render body: nil
end
@ -509,6 +511,8 @@ class PostsController < ApplicationController
post.public_version += 1
post.save
post.publish_change_to_clients!(:revised)
render body: nil
end