diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index cd47d1f833..f5ab1e2350 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -204,7 +204,7 @@ module ActionController self.middleware_stack = ActionController::MiddlewareStack.new def self.inherited(base) # :nodoc: - base.middleware_stack = self.middleware_stack.dup + base.middleware_stack = middleware_stack.dup super end |