discourse/plugins/automation/spec/services
Joffrey JAFFEUX 932bd6ba85
UX: logs when an automation is destroyed (#29565)
A `UserHistory` entry will now be created when an automation is destroyed. This is visible in `/admin/logs/staff_action_logs`. id, name, trigger and script will be logged.

This commit also creates a service `DestroyAutomation` to hold all the destroy automation logic.

---------
Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>
2024-11-04 11:12:18 +09:00
..
destroy_automation_spec.rb UX: logs when an automation is destroyed (#29565) 2024-11-04 11:12:18 +09:00
user_badge_granted_spec.rb