aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/cookies.rb
blob: f8efb2b07687fd46042e81ad9099481cdefe6fb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module ActionController #:nodoc:
  module Cookies
    extend ActiveSupport::Concern

    included do
      helper_method :cookies
    end

    private
      def cookies
        request.cookie_jar
      end
  end
end