Sha256: ed9bb7222f8c75abd06d08cdfe16679eb5db30e6b9af1a5600ef87f56df9aaf0

Contents?: true

Size: 386 Bytes

Versions: 56

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module ActionController # :nodoc:
  module Cookies
    extend ActiveSupport::Concern

    included do
      helper_method :cookies if defined?(helper_method)
    end

    private
      # The cookies for the current request. See ActionDispatch::Cookies for
      # more information.
      def cookies # :doc:
        request.cookie_jar
      end
  end
end

Version data entries

56 entries across 53 versions & 6 rubygems

Version Path
actionpack-7.0.4.1 lib/action_controller/metal/cookies.rb
actionpack-7.0.4 lib/action_controller/metal/cookies.rb
actionpack-7.0.3.1 lib/action_controller/metal/cookies.rb
actionpack-7.0.3 lib/action_controller/metal/cookies.rb
actionpack-7.0.2.4 lib/action_controller/metal/cookies.rb
actionpack-7.0.2.3 lib/action_controller/metal/cookies.rb
actionpack-7.0.2.2 lib/action_controller/metal/cookies.rb
actionpack-7.0.2.1 lib/action_controller/metal/cookies.rb
actionpack-7.0.2 lib/action_controller/metal/cookies.rb
actionpack-7.0.1 lib/action_controller/metal/cookies.rb
actionpack-7.0.0 lib/action_controller/metal/cookies.rb
actionpack-7.0.0.rc3 lib/action_controller/metal/cookies.rb
actionpack-7.0.0.rc2 lib/action_controller/metal/cookies.rb
actionpack-7.0.0.rc1 lib/action_controller/metal/cookies.rb
actionpack-7.0.0.alpha2 lib/action_controller/metal/cookies.rb
actionpack-7.0.0.alpha1 lib/action_controller/metal/cookies.rb