glitch-social/app/policies/preview_card_provider_polic...

12 lines
149 B
Ruby

# frozen_string_literal: true
class PreviewCardProviderPolicy < ApplicationPolicy
def index?
staff?
end
def update?
staff?
end
end