mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use newer class cache api
This commit is contained in:
parent
69e348013b
commit
dd41387f34
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ module ActionDispatch
|
|||
|
||||
unless controller = @controllers[controller_param]
|
||||
controller = @controllers[controller_param] =
|
||||
ActiveSupport::Dependencies.ref(controller_name)
|
||||
ActiveSupport::Dependencies.reference(controller_name)
|
||||
end
|
||||
controller.get(controller_name)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue