diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-26 11:16:17 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-26 11:16:17 -0500 |
commit | 6083a87d63af9ca1b66fedcb92cd4a395965173b (patch) | |
tree | 029e3e7f6a3e01cf3457a5ced818ff086dda7e79 /actionpack | |
parent | a840c8afbf4e30b7bd9979e8cd70192c65be7a43 (diff) | |
download | rails-6083a87d63af9ca1b66fedcb92cd4a395965173b.tar.gz rails-6083a87d63af9ca1b66fedcb92cd4a395965173b.tar.bz2 rails-6083a87d63af9ca1b66fedcb92cd4a395965173b.zip |
Splat calls to_a not to_ary [#3423 state:resolved]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route.rb | 2 |
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 |