1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/controllers/admin/accounts_controller.rb
2016-12-03 19:08:07 +01:00

15 lines
322 B
Ruby

# frozen_string_literal: true
class Admin::AccountsController < ApplicationController
before_action :require_admin!
layout 'public'
def index
@accounts = Account.order('domain ASC, username ASC').paginate(page: params[:page], per_page: 40)
end
def show
@account = Account.find(params[:id])
end
end