mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
make variable name more clear
This commit is contained in:
parent
7bc25f0035
commit
da83a6f126
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue