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

    include RackDelegation

    included do
      helper_method :cookies
    end

    private
      def cookies
        request.cookie_jar
      end
  end
end