1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove methods to avoid warnings.

This commit is contained in:
Emilio Tagua 2010-09-28 18:40:38 -03:00
parent 783e9b8de5
commit d5bb640eb0

View file

@ -3,10 +3,12 @@ require 'abstract_unit'
module ActionDispatch
class ShowExceptions
private
remove_method :public_path
def public_path
"#{FIXTURE_LOAD_PATH}/public"
end
remove_method :logger
# Silence logger
def logger
nil