trabajo-afectivo/config/routes/message.rb

11 lines
307 B
Ruby
Raw Normal View History

2012-11-26 23:32:55 +00:00
module ExtraRoutes
def add(map)
# messages
map.match '/api/message_send', :to => 'long_polling#message_send', :via => [ :get, :post ]
map.match '/api/message_receive', :to => 'long_polling#message_receive', :via => [ :get, :post ]
2012-11-26 23:32:55 +00:00
end
module_function :add
end