Method: UserCheckoutStatPolicy#destroy?

Defined in:
app/policies/user_checkout_stat_policy.rb

#destroy?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'app/policies/user_checkout_stat_policy.rb', line 18

def destroy?
  user.try(:has_role?, 'Administrator')
end