message.rb 293 B

12345678
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. # messages
  4. match api_path + '/message_send', to: 'long_polling#message_send', via: %i[get post]
  5. match api_path + '/message_receive', to: 'long_polling#message_receive', via: %i[get post]
  6. end