summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/call_route.js.coffee
blob: 91d62cad8c1fedd065c0311ee8e14fbbb60a7440 (plain)
1
2
3
4
5
6
jQuery ->
  $('#call_routes').sortable
    axis: 'y'
    handle: '.handle'
    update: ->
      $.post($(this).data('update-url'), $(this).sortable('serialize'))