Skip to content

Commit

Permalink
Splat calls to_a not to_ary [#3423 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Oct 26, 2009
1 parent a840c8a commit 6083a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/routing/route.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6083a87

Please sign in to comment.