mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-11 05:36:33 +01:00
15 lines
254 B
Ruby
15 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
|