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