mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
use newer class cache api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user