mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 18:23:39 +08:00
5fec841c19
We were incorrectly generating URLs with message id even when it was not provided, resulting in a route ending with "undefined", which was causing an error. This commit also uses this opportunity to: - move `invite_users` into a proper controller inside the API namespace - refactors the code into a service: `Chat::InviteUsersToChannel` |
||
---|---|---|
.. | ||
controllers/chat | ||
helpers/chat | ||
jobs | ||
models | ||
policies | ||
queries/chat | ||
serializers/chat | ||
services | ||
validators/chat | ||
views |