mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
We need [] method here. previously it's an array.
This commit is contained in:
@@ -14,6 +14,10 @@ module ActionView #:nodoc:
|
||||
self
|
||||
end
|
||||
|
||||
def [](i)
|
||||
paths[i]
|
||||
end
|
||||
|
||||
def to_ary
|
||||
paths.dup
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user