1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

the lookup context looks in the cwd, so prefix isn't necessary

This commit is contained in:
Aaron Patterson 2016-02-12 12:13:59 -08:00
parent 3d7892d4d5
commit db9ef08a8d

View file

@ -17,8 +17,7 @@ class FixtureFinder < ActionView::LookupContext
FIXTURES_DIR = "#{File.dirname(__FILE__)}/../fixtures/digestor"
def initialize(details = {})
prefixes = [FixtureFinder::FIXTURES_DIR]
super(ActionView::PathSet.new(['digestor']), details, prefixes)
super(ActionView::PathSet.new(['digestor']), details, [])
end
end