aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/metal/cookies.rb
blob: d787f014cdaa3e7ff963da80be0b3589e22d15e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                
                

                                 
                          


                            
       
 
           
                 
                          
         
     
   
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