Change query params parser to work with Edge Rails
This commit is contained in:
parent
d64bba627e
commit
0204c2766d
@ -2,6 +2,7 @@
|
||||
|
||||
* Bug fixes
|
||||
|
||||
* Update query param parsing to work with latest Edge Rails
|
||||
* Ensure the previous pages params aren't passed through redirect
|
||||
* Labels should only search for fields within the current scope (Kyle Hargraves)
|
||||
|
||||
|
@ -98,10 +98,11 @@ module Webrat
|
||||
protected
|
||||
|
||||
def rails_request_parser
|
||||
if defined?(ActionController::RequestParser) # For Rails > 2.2
|
||||
ActionController::RequestParser
|
||||
else
|
||||
if defined?(ActionController::AbstractRequest)
|
||||
ActionController::AbstractRequest
|
||||
else
|
||||
# For Rails > 2.2
|
||||
ActionController::UrlEncodedPairParser
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user