blob: 92ebffc87f3320a708c0dcfa219ee0667612b264 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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
|