1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_controller/metal/cookies.rb

17 lines
248 B
Ruby
Raw Normal View History

module ActionController #:nodoc:
module Cookies
2009-10-26 21:01:09 -04:00
extend ActiveSupport::Concern
include RackDelegation
2009-10-26 21:01:09 -04:00
included do
helper_method :cookies
end
2010-01-16 18:21:46 -05:00
private
def cookies
2010-01-16 18:21:46 -05:00
request.cookie_jar
end
end
end