mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove some old cruft
This commit is contained in:
parent
6a001e925e
commit
bb91beabbd
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue