diff options
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/cookies.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/cookies.rb b/actionpack/lib/action_controller/cookies.rb index e047dcf2b9..6630386ea6 100644 --- a/actionpack/lib/action_controller/cookies.rb +++ b/actionpack/lib/action_controller/cookies.rb @@ -22,11 +22,11 @@ module ActionController #:nodoc: module Cookies # Returns the cookie container, which operates as described above. def cookies - CookieContainer.new(self) + CookieJar.new(self) end end - class CookieContainer < Hash #:nodoc: + class CookieJar < Hash #:nodoc: def initialize(controller) @controller, @cookies = controller, controller.instance_variable_get("@cookies") super() |