From da83a6f12690ac4569beb2155f15826e868fa7e2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 21 May 2014 11:56:12 -0700 Subject: [PATCH] make variable name more clear --- actionpack/lib/action_dispatch/journey/route.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb index 1effcd5a5e..7e37086da3 100644 --- a/actionpack/lib/action_dispatch/journey/route.rb +++ b/actionpack/lib/action_dispatch/journey/route.rb @@ -31,7 +31,7 @@ module ActionDispatch @parts = nil @decorated_ast = nil @precedence = 0 - @formatter = @path.build_formatter + @path_formatter = @path.build_formatter end def ast @@ -73,7 +73,7 @@ module ActionDispatch alias :segment_keys :parts def format(path_options) - @formatter.evaluate path_options + @path_formatter.evaluate path_options end def optimized_path