diff options
Diffstat (limited to 'app/assets/javascripts/call_route.js.coffee')
-rw-r--r-- | app/assets/javascripts/call_route.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/call_route.js.coffee b/app/assets/javascripts/call_route.js.coffee index f41d65b..91d62ca 100644 --- a/app/assets/javascripts/call_route.js.coffee +++ b/app/assets/javascripts/call_route.js.coffee @@ -1,6 +1,6 @@ jQuery -> - $("table tbody").sortable + $('#call_routes').sortable axis: 'y' handle: '.handle' update: -> - $.post('call_routes/sort', $(this).sortable('serialize'))
\ No newline at end of file + $.post($(this).data('update-url'), $(this).sortable('serialize'))
\ No newline at end of file |