method
coerce_same_site_protection
v8.1.1 -
Show latest stable
- Class:
Rails::Application
coerce_same_site_protection(protection)private
No documentation available.
# File railties/lib/rails/application.rb, line 650
def coerce_same_site_protection(protection)
protection.respond_to?(:call) ? protection : proc { protection }
end