1
0
Fork 0
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:
Aaron Patterson 2011-03-02 09:35:10 -08:00
parent 69e348013b
commit dd41387f34

View file

@ -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