gab-social/app/policies/link_block_policy.rb

16 lines
172 B
Ruby

# frozen_string_literal: true
class LinkBlockPolicy < ApplicationPolicy
def index?
admin?
end
def create?
admin?
end
def destroy?
admin?
end
end