Permalink
Browse files

make variable name more clear

  • Loading branch information...
1 parent 7bc25f0 commit da83a6f12690ac4569beb2155f15826e868fa7e2 @tenderlove tenderlove committed May 21, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_dispatch/journey/route.rb
@@ -31,7 +31,7 @@ def initialize(name, app, path, constraints, defaults = {})
@parts = nil
@decorated_ast = nil
@precedence = 0
- @formatter = @path.build_formatter
+ @path_formatter = @path.build_formatter
end
def ast
@@ -73,7 +73,7 @@ def parts
alias :segment_keys :parts
def format(path_options)
- @formatter.evaluate path_options
+ @path_formatter.evaluate path_options
end
def optimized_path

0 comments on commit da83a6f

Please sign in to comment.