1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-16 15:48:17 +09:00
mastodon/app/controllers/admin/domain_blocks_controller.rb

15 lines
254 B
Ruby
Raw Normal View History

2016-12-13 21:42:10 +09:00
# 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