1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

make sure the superclass matches so load order does not matter

This commit is contained in:
Aaron Patterson 2012-05-04 14:17:03 -07:00
parent fecfd61c22
commit d4838fdcb2
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/keys'
module ActionDispatch
class Request
class Request < Rack::Request
def cookie_jar
env['action_dispatch.cookies'] ||= Cookies::CookieJar.build(self)
end

View file

@ -1,5 +1,5 @@
module ActionDispatch
class Request
class Request < Rack::Request
# Access the contents of the flash. Use <tt>flash["notice"]</tt> to
# read a notice you put there or <tt>flash["notice"] = "hello"</tt>
# to put a new one.