mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 17:13:39 +08:00
c97244ca11
This fix ensures that when a topic title is edited the new title shows up in the post webhook instead of the old title. Rather than passing in the old topic object to the PostRevisor the PostRevisor initializer will load the updated topic object inside of the initializer if you don't pass it in. This will allow the post_edited webhook to have the correct topic values. Original bug reported at: https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722 |
||
---|---|---|
.. | ||
components | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
initializers | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
models | ||
multisite | ||
requests | ||
serializers | ||
services | ||
support | ||
tasks | ||
views/omniauth_callbacks | ||
rails_helper.rb |