11 řádky
136 B
Ruby
11 řádky
136 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InstancePolicy < ApplicationPolicy
|
|
def index?
|
|
admin?
|
|
end
|
|
|
|
def show?
|
|
admin?
|
|
end
|
|
end
|