method

coerce_same_site_protection

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Rails::Application
coerce_same_site_protection(protection) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/application.rb, line 609
      def coerce_same_site_protection(protection)
        protection.respond_to?(:call) ? protection : proc { protection }
      end
Register or log in to add new notes.