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` |
||
---|---|---|
.. | ||
admin | ||
chat | ||
core_ext | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
emojis_controller_spec.rb |