aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-20 11:00:06 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-20 11:00:27 -0700
commite08696421f37d7c0cf488c40bf1c21520f1a0db5 (patch)
treebe0a1e73229f6c67ffc9629a9b7b607f24ddae3a /actionpack/lib/action_dispatch
parent4f416465772662967c433b1f6bc7efa4b1993695 (diff)
downloadrails-e08696421f37d7c0cf488c40bf1c21520f1a0db5.tar.gz
rails-e08696421f37d7c0cf488c40bf1c21520f1a0db5.tar.bz2
rails-e08696421f37d7c0cf488c40bf1c21520f1a0db5.zip
make the each visitor top-down left-right
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/journey/visitors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/journey/visitors.rb b/actionpack/lib/action_dispatch/journey/visitors.rb
index 616c2d26d4..05ad619139 100644
--- a/actionpack/lib/action_dispatch/journey/visitors.rb
+++ b/actionpack/lib/action_dispatch/journey/visitors.rb
@@ -52,8 +52,8 @@ module ActionDispatch
end
def visit(node)
- super
block.call(node)
+ super
end
end