Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Splat calls to_a not to_ary [#3423 state:resolved]

  • Loading branch information...
commit 6083a87d63af9ca1b66fedcb92cd4a395965173b 1 parent a840c8a
@josh josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/routing/route.rb
View
2  actionpack/lib/action_dispatch/routing/route.rb
@@ -36,7 +36,7 @@ def segment_keys
@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
Please sign in to comment.
Something went wrong with that request. Please try again.