A platform for community discussion. Free, open, simple.
DEV: Deprecate /posts/:id/reply-ids/all (#16136)
Jarek Radoszbb153c49a14c
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rbindex 0134f41197b..b4950adbc47 100644--- a/app/controllers/posts_controller.rb+++ b/app/controllers/posts_controller.rb@@ -309,6 +309,8 @@ class PostsController < ApplicationControllerenddef all_reply_ids+ Discourse.deprecate("/posts/:id/reply-ids/all is deprecated.", drop_from: "3.0")+post = find_post_from_paramsrender json: post.reply_ids(guardian, only_replies_to_single_post: false).to_jsonend