Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11192 from charliesome/extra-roflscale

Store a symbol directly inside DISPATCH_CACHE for additional roflscale
  • Loading branch information...
commit 51ed3fa638736c52b1fcdde3b0ee1a05dac19c09 2 parents 6e583cd + 5e356de
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/journey/visitors.rb
2  actionpack/lib/action_dispatch/journey/visitors.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.