mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Avoid RAILS_DEFAULT_LOGGER deprecation warning from Webrat
This must be fixed in Webrat.
This commit is contained in:
parent
f60123ce01
commit
ffaba3f1d3
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ module Webrat
|
||||||
Rack::Utils.parse_nested_query(params)
|
Rack::Utils.parse_nested_query(params)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module Logging
|
||||||
|
# Avoid RAILS_DEFAULT_LOGGER deprecation warning
|
||||||
|
def logger # :nodoc:
|
||||||
|
::Rails.logger
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
module ActionDispatch #:nodoc:
|
module ActionDispatch #:nodoc:
|
||||||
|
|
Loading…
Reference in a new issue