mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
16 lines
266 B
Ruby
16 lines
266 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Admin
|
||
|
class InstancesController < BaseController
|
||
|
def index
|
||
|
@instances = ordered_instances.page(params[:page])
|
||
|
end
|
||
|
|
||
|
private
|
||
|
|
||
|
def ordered_instances
|
||
|
Account.remote.by_domain_accounts
|
||
|
end
|
||
|
end
|
||
|
end
|