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

@@ -11,7 +11,7 @@ class PostsController < ApplicationController
end
else
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit], raw: params[:raw], random: params[:random], format: params[:format])
@posts = @post_set.posts = @post_set.posts.includes(:uploader) if !@post_set.is_random? && CurrentUser.is_moderator?
@posts = @post_set.posts
respond_with(@posts) do |format|
format.atom
end