discourse/plugins/chat/spec/models
Loïc Guitaut 1377186d38 DEV: Refactor chat channel fetching
This is extracted from #22390.

This patch introduces a scope to avoid duplication and a new method,
`Chat::Channel.find_by_id_or_slug` to allow finding a channel either by
its id or by its slug (or its category slug).
2023-07-27 11:55:17 +02:00
..
chat DEV: Refactor chat channel fetching 2023-07-27 11:55:17 +02:00
category_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
user_spec.rb