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.4.4 lib/action_controller/metal/cookies.rb
actionpack-6.1.4.3 lib/action_controller/metal/cookies.rb
actionpack-6.1.4.2 lib/action_controller/metal/cookies.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/cookies.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/actionpack-6.1.4.1/lib/action_controller/metal/cookies.rb
actionpack-6.1.4.1 lib/action_controller/metal/cookies.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/actionpack-6.1.4/lib/action_controller/metal/cookies.rb
actionpack-6.1.4 lib/action_controller/metal/cookies.rb
actionpack-6.1.3.2 lib/action_controller/metal/cookies.rb
actionpack-6.1.3.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.3 lib/action_controller/metal/cookies.rb
actionpack-6.1.2.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.2 lib/action_controller/metal/cookies.rb
actionpack-6.1.1 lib/action_controller/metal/cookies.rb
actionpack-6.1.0 lib/action_controller/metal/cookies.rb
actionpack-6.1.0.rc2 lib/action_controller/metal/cookies.rb