diff --git a/app/assets/javascripts/discourse/models/post.js.es6 b/app/assets/javascripts/discourse/models/post.js.es6 index 5ad4086de3e..7e96dc3ba11 100644 --- a/app/assets/javascripts/discourse/models/post.js.es6 +++ b/app/assets/javascripts/discourse/models/post.js.es6 @@ -329,7 +329,7 @@ Post.reopenClass({ }, mergePosts(selectedPosts) { - return Discourse.ajax("/posts/merge_posts", { + return ajax("/posts/merge_posts", { type: 'PUT', data: { post_ids: selectedPosts.map(p => p.get('id')) } }).catch(() => {