Remove some old cruft

This commit is contained in:
Yehuda Katz 2009-08-27 04:59:39 -05:00
parent 6a001e925e
commit bb91beabbd

@ -34,7 +34,6 @@ def unshift(*objs)
end
def find(path, details = {}, prefix = nil, partial = false)
# template_path = path.sub(/^\//, '')
template_path = path
each do |load_path|
@ -43,8 +42,6 @@ def find(path, details = {}, prefix = nil, partial = false)
end
end
# TODO: Have a fallback absolute path?
extension = details[:formats] || []
raise ActionView::MissingTemplate.new(self, "#{prefix}/#{path} - #{details.inspect} - partial: #{!!partial}")
end