mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-10 02:18:55 +08:00
- Introduce a `max_page_size` option, allowing different behavior between controllers and SDK. - Improve the contract (validations & helper method). - Use `model` where possible. - Extract message existence logic to a dedicated policy, allowing easier testing. - Refactor specs to follow current guidelines/best practices. |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| api_controller.rb | ||
| base_controller.rb | ||
| chat_controller.rb | ||
| direct_messages_controller.rb | ||
| incoming_webhooks_controller.rb | ||