1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Modifying configurations on the instance of a controller should not affect the class

This commit is contained in:
Carl Lerche 2010-03-03 21:32:05 -08:00
parent 7dbf5c820b
commit 13a932cddc

View file

@ -102,7 +102,7 @@ module AbstractController
end
def config
self.class.config
@config ||= ActiveSupport::InheritableOptions.new(self.class.config)
end
# Calls the action going through the entire action dispatch stack.