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.1.3 lib/action_controller/metal/cookies.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_controller/metal/cookies.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/cookies.rb
actionpack-7.1.2 lib/action_controller/metal/cookies.rb
actionpack-7.1.1 lib/action_controller/metal/cookies.rb
actionpack-7.1.0 lib/action_controller/metal/cookies.rb
actionpack-7.1.0.rc2 lib/action_controller/metal/cookies.rb
actionpack-7.1.0.rc1 lib/action_controller/metal/cookies.rb
actionpack-7.1.0.beta1 lib/action_controller/metal/cookies.rb
actionpack-7.0.8 lib/action_controller/metal/cookies.rb
actionpack-7.0.7.2 lib/action_controller/metal/cookies.rb
actionpack-7.0.7.1 lib/action_controller/metal/cookies.rb
actionpack-7.0.7 lib/action_controller/metal/cookies.rb
actionpack-7.0.6 lib/action_controller/metal/cookies.rb
actionpack-7.0.5.1 lib/action_controller/metal/cookies.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_controller/metal/cookies.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/cookies.rb
actionpack-7.0.5 lib/action_controller/metal/cookies.rb
actionpack-7.0.4.3 lib/action_controller/metal/cookies.rb
actionpack-7.0.4.2 lib/action_controller/metal/cookies.rb