mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 03:53:44 +08:00
821402d024
Previously services would let you define a high level default `def default_actions_for_service; end` which would define various handlers like `on_success`, after months of usage we consider the cons are superior to the pros here. Two mains cons: - people would often not understand where the handling was coming from - it's easy to miss a case when you write your specs |
||
---|---|---|
.. | ||
regular/chat | ||
scheduled/chat | ||
service_job.rb |