Permalink
Browse files

Merge pull request #11192 from charliesome/extra-roflscale

Store a symbol directly inside DISPATCH_CACHE for additional roflscale
  • Loading branch information...
2 parents 6e583cd + 5e356de commit 51ed3fa638736c52b1fcdde3b0ee1a05dac19c09 @carlosantoniodasilva carlosantoniodasilva committed Jun 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/journey/visitors.rb
View
2 actionpack/lib/action_dispatch/journey/visitors.rb
@@ -4,7 +4,7 @@ module Journey # :nodoc:
module Visitors # :nodoc:
class Visitor # :nodoc:
DISPATCH_CACHE = Hash.new { |h,k|
- h[k] = "visit_#{k}"
+ h[k] = :"visit_#{k}"
}
def accept(node)

0 comments on commit 51ed3fa

Please sign in to comment.