mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 16:46:19 +08:00
01392ab90c
Currently when a category is deleted, if it has an associated chat channel, the latter won’t be deleted automatically. The fix is quite simple as we were simply missing a `dependent: :destroy` option on the existing relation. |
||
---|---|---|
.. | ||
admin | ||
api | ||
categories_controller_spec.rb | ||
chat_channel_controller_spec.rb | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
email_controller_spec.rb | ||
emojis_controller_spec.rb | ||
incoming_chat_webhooks_controller_spec.rb | ||
users_controller_spec.rb |