trabajo-afectivo/config/routes/message.rb

10 lines
256 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'
map.match '/api/message_receive', :to => 'long_polling#message_receive'
end
module_function :add
end