Skip to content
This repository
Browse code

removes unnecessary self

  • Loading branch information...
commit 3c48b32f6e4a00e5d3d5d24988710894b992fb21 1 parent a8b21ac
Xavier Noria authored September 17, 2012
2  actionpack/lib/action_controller/metal.rb
@@ -204,7 +204,7 @@ def to_a #:nodoc:
204 204
     self.middleware_stack = ActionController::MiddlewareStack.new
205 205
 
206 206
     def self.inherited(base) # :nodoc:
207  
-      base.middleware_stack = self.middleware_stack.dup
  207
+      base.middleware_stack = middleware_stack.dup
208 208
       super
209 209
     end
210 210
 

0 notes on commit 3c48b32

Please sign in to comment.
Something went wrong with that request. Please try again.