blacklists: remove ability for mods to blacklist uploaders by name.

This commit is contained in:
evazion
2020-02-16 03:51:48 -06:00
parent b591353773
commit caf54fe45a
5 changed files with 2 additions and 14 deletions

View File

@@ -3,8 +3,7 @@ class LegacyController < ApplicationController
def posts
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit], format: "json")
@post_set.posts = @post_set.posts.includes(:uploader)
@posts = @post_set.posts.map(&:legacy_attributes)
@posts = @post_set.posts.includes(:uploader).map(&:legacy_attributes)
respond_with(@posts) do |format|
format.xml do