mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
load should also return the value from super
This commit is contained in:
@@ -229,7 +229,9 @@ module ActiveSupport #:nodoc:
|
||||
end
|
||||
|
||||
def load(file, *)
|
||||
load_dependency(file) { super }
|
||||
result = false
|
||||
load_dependency(file) { result = super }
|
||||
result
|
||||
end
|
||||
|
||||
def require(file, *)
|
||||
|
||||
Reference in New Issue
Block a user