1
0
Fork 0
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:
Carlos Antonio da Silva 2010-09-26 14:53:03 -03:00
parent f60123ce01
commit ffaba3f1d3

View file

@ -7,6 +7,13 @@ module Webrat
Rack::Utils.parse_nested_query(params)
end
end
module Logging
# Avoid RAILS_DEFAULT_LOGGER deprecation warning
def logger # :nodoc:
::Rails.logger
end
end
end
module ActionDispatch #:nodoc: