Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure the superclass matches so load order does not matter

  • Loading branch information...
commit d4838fdcb2b311a01329d9994752894e3d308719 1 parent fecfd61
Aaron Patterson tenderlove authored
2  actionpack/lib/action_dispatch/middleware/cookies.rb
View
@@ -2,7 +2,7 @@
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
2  actionpack/lib/action_dispatch/middleware/flash.rb
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.