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:
parent
fecfd61c22
commit
d4838fdcb2
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue