diff options
author | Charlie Somerville <charlie@charliesomerville.com> | 2013-06-30 11:31:36 +1000 |
---|---|---|
committer | Charlie Somerville <charlie@charliesomerville.com> | 2013-06-30 11:31:36 +1000 |
commit | 5e356de2714b1f4845b6774655061bf9eeb9909f (patch) | |
tree | f8501c245a8d82ad1becc2e76cd22ecc25c90a60 /actionpack | |
parent | 08f8c8aa52d7cefed7b8fb0ae2cffa3d77d3895f (diff) | |
download | rails-5e356de2714b1f4845b6774655061bf9eeb9909f.tar.gz rails-5e356de2714b1f4845b6774655061bf9eeb9909f.tar.bz2 rails-5e356de2714b1f4845b6774655061bf9eeb9909f.zip |
store a symbol directly inside DISPATCH_CACHE for extra roflscale
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/visitors.rb | 2 |
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 2964d80d9f..0a8cb1b4d4 100644 --- a/actionpack/lib/action_dispatch/journey/visitors.rb +++ b/actionpack/lib/action_dispatch/journey/visitors.rb @@ -4,7 +4,7 @@ module ActionDispatch module Visitors # :nodoc: class Visitor # :nodoc: DISPATCH_CACHE = Hash.new { |h,k| - h[k] = "visit_#{k}" + h[k] = :"visit_#{k}" } def accept(node) |