aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-09-17 12:42:22 +0400
committerXavier Noria <fxn@hashref.com>2012-09-17 17:32:19 +0200
commit3c48b32f6e4a00e5d3d5d24988710894b992fb21 (patch)
tree9ef450ec5269e7dddc931ac9433f1e2c7b58f003 /actionpack/lib/action_controller/metal.rb
parenta8b21aca31e64a3d7f96b69d28107fb78d426029 (diff)
downloadrails-3c48b32f6e4a00e5d3d5d24988710894b992fb21.tar.gz
rails-3c48b32f6e4a00e5d3d5d24988710894b992fb21.tar.bz2
rails-3c48b32f6e4a00e5d3d5d24988710894b992fb21.zip
removes unnecessary self
Diffstat (limited to 'actionpack/lib/action_controller/metal.rb')
-rw-r--r--actionpack/lib/action_controller/metal.rb2
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