trabajo-afectivo/config/routes/message.rb

11 lines
370 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
2013-08-21 19:16:42 +00:00
Zammad::Application.routes.draw do
api_path = Rails.configuration.api_path
2012-11-26 23:32:55 +00:00
2013-08-21 19:16:42 +00:00
# messages
2017-11-23 08:09:44 +00:00
match api_path + '/message_send', to: 'long_polling#message_send', via: %i[get post]
match api_path + '/message_receive', to: 'long_polling#message_receive', via: %i[get post]
2012-11-26 23:32:55 +00:00
end