aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-26 11:16:17 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-26 11:16:17 -0500
commit6083a87d63af9ca1b66fedcb92cd4a395965173b (patch)
tree029e3e7f6a3e01cf3457a5ced818ff086dda7e79 /actionpack/lib/action_dispatch
parenta840c8afbf4e30b7bd9979e8cd70192c65be7a43 (diff)
downloadrails-6083a87d63af9ca1b66fedcb92cd4a395965173b.tar.gz
rails-6083a87d63af9ca1b66fedcb92cd4a395965173b.tar.bz2
rails-6083a87d63af9ca1b66fedcb92cd4a395965173b.zip
Splat calls to_a not to_ary [#3423 state:resolved]
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/route.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route.rb b/actionpack/lib/action_dispatch/routing/route.rb
index 8990e207c2..e3aaa29e76 100644
--- a/actionpack/lib/action_dispatch/routing/route.rb
+++ b/actionpack/lib/action_dispatch/routing/route.rb
@@ -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