mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 10:15:50 +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 |
||
---|---|---|
.. | ||
admin | ||
chat | ||
core_ext | ||
application_controller_spec.rb | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
emojis_controller_spec.rb |