message.rb 370 B

12345678910
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. # messages
  5. match api_path + '/message_send', to: 'long_polling#message_send', via: %i[get post]
  6. match api_path + '/message_receive', to: 'long_polling#message_receive', via: %i[get post]
  7. end