mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Splat calls to_a not to_ary [#3423 state:resolved]
This commit is contained in:
@@ -36,7 +36,7 @@ module ActionDispatch
|
||||
@segment_keys ||= conditions[:path_info].names.compact.map { |key| key.to_sym }
|
||||
end
|
||||
|
||||
def to_ary
|
||||
def to_a
|
||||
[@app, @conditions, @defaults, @name]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user