discourse-topic-voting/app/models/discourse_topic_voting
Penar Musaraj be71ec457c
FIX: Rely on core for staff action logs (#176)
Previously, we were deleting the `enable_topic_voting` custom field param
and doing the staff logging in this plugin. This has a problem though, it
was being done in the model's create/destroy hooks and was missing the
acting user (so the logs would report the change as `system`).

This PR keeps the custom field param and relies on core to do the staff
action logging. This change also results in the custom field being set
in the DB when it is enabled even though we don't use it in the serializer.
2023-12-18 14:13:39 -05:00
..
category_setting.rb FIX: Rely on core for staff action logs (#176) 2023-12-18 14:13:39 -05:00
topic_vote_count.rb DEV: Introduce syntax_tree for ruby formatting (#138) 2022-12-29 13:35:59 +01:00
vote.rb DEV: Introduce syntax_tree for ruby formatting (#138) 2022-12-29 13:35:59 +01:00