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
|
|
|
|
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 ]
|
2012-11-26 23:32:55 +00:00
|
|
|
|
2013-08-21 19:16:42 +00:00
|
|
|
end
|