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

This commit is contained in:
Arun Agrawal
2011-08-13 13:13:05 +05:30
parent 943a37348a
commit 5bc87cc2ee

View File

@@ -14,6 +14,10 @@ module ActionView #:nodoc:
self
end
def [](i)
paths[i]
end
def to_ary
paths.dup
end