Sha256: 687f5b2065ad121c3ee40713496f184787ce36fa6fb2b2dcee3a5f5bc5f4a754
Contents?: true
Size: 299 Bytes
Versions: 51
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true # This concern disables the session in order to allow caching by default in some CDNs as CloudFlare. module ActiveStorage::DisableSession extend ActiveSupport::Concern included do before_action do request.session_options[:skip] = true end end end
Version data entries
51 entries across 50 versions & 6 rubygems