urls: Move /messages/render to POST endpoint

This commit is contained in:
Sampriti Panda
2017-01-13 05:40:19 +05:30
committed by showell
parent 510659d402
commit 196cf4367b
4 changed files with 5 additions and 5 deletions

View File

@@ -1038,7 +1038,7 @@ $(function () {
// incorrect wrong, users will see a brief flicker).
$("#preview_content").html(echo.apply_markdown(message));
}
channel.get({
channel.post({
url: '/json/messages/render',
idempotent: true,
data: {content: message},