Permalink
Browse files

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

  • Loading branch information...
1 parent a840c8a commit 6083a87d63af9ca1b66fedcb92cd4a395965173b @josh josh committed Oct 26, 2009
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

0 comments on commit 6083a87

Please sign in to comment.