16 lines
172 B
Ruby
16 lines
172 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class PreviewCardPolicy < ApplicationPolicy
|
||
|
def destroy?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def index?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def show?
|
||
|
staff?
|
||
|
end
|
||
|
end
|