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:
parent
7dbf5c820b
commit
13a932cddc
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue