diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-27 04:59:39 -0500 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-27 05:00:57 -0500 |
commit | bb91beabbde29a52bb2851884eaa90636aff0b95 (patch) | |
tree | 9fb472f5aa19da1dc987ba555c974e686e6fc407 | |
parent | 6a001e925e54d2b82164d98c1c1498a4e73ccad1 (diff) | |
download | rails-bb91beabbde29a52bb2851884eaa90636aff0b95.tar.gz rails-bb91beabbde29a52bb2851884eaa90636aff0b95.tar.bz2 rails-bb91beabbde29a52bb2851884eaa90636aff0b95.zip |
Remove some old cruft
-rw-r--r-- | actionpack/lib/action_view/paths.rb | 3 |
1 files changed, 0 insertions, 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 |