mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove methods to avoid warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user