about summary refs log tree commit diff
path: root/app/policies/instance_policy.rb
blob: a73823556c5ad6ed7b0e23d141ba599a1346bd63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class InstancePolicy < ApplicationPolicy
  def index?
    admin?
  end

  def show?
    admin?
  end
end