From bb91beabbde29a52bb2851884eaa90636aff0b95 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Thu, 27 Aug 2009 04:59:39 -0500 Subject: [PATCH] Remove some old cruft --- actionpack/lib/action_view/paths.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/actionpack/lib/action_view/paths.rb b/actionpack/lib/action_view/paths.rb index 4001757a9b..5524a3219a 100644 --- a/actionpack/lib/action_view/paths.rb +++ b/actionpack/lib/action_view/paths.rb @@ -34,7 +34,6 @@ module ActionView #:nodoc: end def find(path, details = {}, prefix = nil, partial = false) - # template_path = path.sub(/^\//, '') template_path = path each do |load_path| @@ -43,8 +42,6 @@ module ActionView #:nodoc: end end - # TODO: Have a fallback absolute path? - extension = details[:formats] || [] raise ActionView::MissingTemplate.new(self, "#{prefix}/#{path} - #{details.inspect} - partial: #{!!partial}") end