Permalink
Browse files

Modifying configurations on the instance of a controller should not a…

…ffect the class
  • Loading branch information...
1 parent 7dbf5c8 commit 13a932cddcd3165792d3454009b6d07471031a2c Carl Lerche committed Mar 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/abstract_controller/base.rb
@@ -102,7 +102,7 @@ def initialize #:nodoc:
end
def config
- self.class.config
+ @config ||= ActiveSupport::InheritableOptions.new(self.class.config)
end
# Calls the action going through the entire action dispatch stack.

0 comments on commit 13a932c

Please sign in to comment.