From 679b4e58073258b3e38d608405e668dc1147acda Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 2 Apr 2016 01:42:13 +0530 Subject: [PATCH] Replace /json/change_enter_sends with REST style route. --- static/js/composebox_typeahead.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.js index 1aecede3e9..0750d77b21 100644 --- a/static/js/composebox_typeahead.js +++ b/static/js/composebox_typeahead.js @@ -339,7 +339,7 @@ exports.initialize = function () { $("#new_message_content").focus(); return channel.post({ - url: '/json/change_enter_sends', + url: '/json/users/me/enter-sends', idempotent: true, data: {'enter_sends': page_params.enter_sends} });