1
0
Fork 0
forked from gitea/nas

Remove moderation tool media list page

This commit is contained in:
KMY 2023-09-21 16:20:07 +09:00
parent 3c317659c4
commit e84eb3fc81
6 changed files with 0 additions and 92 deletions

View file

@ -1,18 +0,0 @@
# frozen_string_literal: true
module Admin
class MediaAttachmentsController < BaseController
def index
authorize :account, :index?
@media_attachments = filtered_attachments.page(params[:page])
@form = Form::MediaAttachmentsBatch.new
end
private
def filtered_attachments
MediaAttachment.local_attached.reverse_order
end
end
end