class Avo::ResourceComponent

def can_delete?

def can_delete?
  @resource.authorization.authorize_action(:destroy, raise_exception: false)
end