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:
parent
783e9b8de5
commit
d5bb640eb0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue