Replace /json/change_enter_sends with REST style route.

This commit is contained in:
Ashish 2016-04-02 01:42:13 +05:30 committed by Tim Abbott
parent cb8da46bbf
commit 679b4e5807

View File

@ -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}
});