sending route information to server
move to mongoid 4
sending shortest path as an array