mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Splat calls to_a not to_ary [#3423 state:resolved]
This commit is contained in:
parent
a840c8afbf
commit
6083a87d63
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module ActionDispatch
|
||||||
@segment_keys ||= conditions[:path_info].names.compact.map { |key| key.to_sym }
|
@segment_keys ||= conditions[:path_info].names.compact.map { |key| key.to_sym }
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_ary
|
def to_a
|
||||||
[@app, @conditions, @defaults, @name]
|
[@app, @conditions, @defaults, @name]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue