Sha256: 79a50d62c543422de854be03dd99830e4a90ea01db59a73132cbbc5dea75c8f0

Contents?: true

Size: 407 Bytes

Versions: 20

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

# :markup: markdown

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

20 entries across 20 versions & 2 rubygems

Version Path
actionpack-8.0.0 lib/action_controller/metal/cookies.rb
actionpack-7.2.2 lib/action_controller/metal/cookies.rb
actionpack-8.0.0.rc2 lib/action_controller/metal/cookies.rb
actionpack-7.2.1.2 lib/action_controller/metal/cookies.rb
actionpack-8.0.0.rc1 lib/action_controller/metal/cookies.rb
actionpack-7.2.1.1 lib/action_controller/metal/cookies.rb
actionpack-8.0.0.beta1 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha9 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha8 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha7 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha4 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha3 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha2 lib/action_controller/metal/cookies.rb
omg-actionpack-8.0.0.alpha1 lib/action_controller/metal/cookies.rb
actionpack-7.2.1 lib/action_controller/metal/cookies.rb
actionpack-7.2.0 lib/action_controller/metal/cookies.rb
actionpack-7.2.0.rc1 lib/action_controller/metal/cookies.rb
actionpack-7.2.0.beta3 lib/action_controller/metal/cookies.rb
actionpack-7.2.0.beta2 lib/action_controller/metal/cookies.rb
actionpack-7.2.0.beta1 lib/action_controller/metal/cookies.rb