mastodon/app/controllers/admin/domain_blocks_controller.rb
2016-12-13 13:42:10 +01:00

14 lines
254 B
Ruby

# frozen_string_literal: true
class Admin::DomainBlocksController < ApplicationController
before_action :require_admin!
layout 'admin'
def index
@blocks = DomainBlock.paginate(page: params[:page], per_page: 40)
end
def create
end
end