Sha256: f8f55922a44da0e3107f09989eff7c1bc836e91debba79e74b894fa9d3d4c202

Contents?: true

Size: 385 Bytes

Versions: 36

Compression:

Stored size: 385 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

36 entries across 36 versions & 4 rubygems

Version Path
actionpack-6.1.7.10 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.9 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.8 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.7 lib/action_controller/metal/cookies.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_controller/metal/cookies.rb
actionpack-6.1.7.6 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.5 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.4 lib/action_controller/metal/cookies.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_controller/metal/cookies.rb
actionpack-6.1.7.3 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.2 lib/action_controller/metal/cookies.rb
actionpack-6.1.7.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.7 lib/action_controller/metal/cookies.rb
actionpack-6.1.6.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.6 lib/action_controller/metal/cookies.rb
actionpack-6.1.5.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.5 lib/action_controller/metal/cookies.rb
actionpack-6.1.4.7 lib/action_controller/metal/cookies.rb
actionpack-6.1.4.6 lib/action_controller/metal/cookies.rb
actionpack-6.1.4.5 lib/action_controller/metal/cookies.rb