Remove moderation tool media list page
This commit is contained in:
parent
3c317659c4
commit
e84eb3fc81
6 changed files with 0 additions and 92 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue