message.rb 299 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: [ :get, :post ]
  5. match api_path + '/message_receive', to: 'long_polling#message_receive', via: [ :get, :post ]
  6. end