Fix #4282: Related tag search no longer allows the JSON/XML formats.

This commit is contained in:
evazion
2020-02-05 14:38:32 -06:00
parent 2d0e0769cb
commit ccb87e13b1
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ module Moderator
@posts = ::Post.includes(:disapprovals, :uploader).order("posts.id asc").pending_or_flagged.available_for_moderation(search_params[:hidden]).tag_match(search_params[:tags]).paginate(params[:page], :limit => per_page)
@posts.each # hack to force rails to eager load
end
#respond_with(@posts)
respond_with(@posts)
end
def random