Permalink
Browse files

We need [] method here. previously it's an array.

  • Loading branch information...
1 parent 943a373 commit 5bc87cc2ee684ec19b9dada596c901488dc9295b @arunagw arunagw committed Aug 13, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionpack/lib/action_view/path_set.rb
@@ -14,6 +14,10 @@ def initialize_copy(other)
self
end
+ def [](i)
+ paths[i]
+ end
+
def to_ary
paths.dup
end

0 comments on commit 5bc87cc

Please sign in to comment.