gab-social/app/policies/link_block_policy.rb
mgabdev c18991f174 Added LinkBlock functionality in admin
• Added:
- LinkBlock functionality in admin
2020-12-08 23:19:10 -05:00

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