Zammad::Application.routes.draw do
  api_path = Rails.configuration.api_path

  # messages
  match api_path + '/message_send',           to: 'long_polling#message_send', via: [ :get, :post ]
  match api_path + '/message_receive',        to: 'long_polling#message_receive', via: [ :get, :post ]

end
