instance method
policy_empty?
Ruby on Rails 8.1.2
Since v6.1.7.10 Private — implementation detail, not part of the public APISignature
policy_empty?(policy)
No documentation comment.
Parameters
-
policyreq
Source
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 60
def policy_empty?(policy)
policy&.directives&.empty?
end
Defined in actionpack/lib/action_dispatch/http/permissions_policy.rb line 60
· View on GitHub
· Improve this page
· Find usages on GitHub