diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-06-09 10:05:02 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-06-09 10:05:02 -0500 |
commit | 55791c6c0012d0daea2a75b6a5927f459be25c54 (patch) | |
tree | a438000ba42a595c070845af1c138fb2f48f3f55 /actionpack/lib/action_view | |
parent | 9051da90e4da2ab0db16530a7f7568e24a0ccaed (diff) | |
download | rails-55791c6c0012d0daea2a75b6a5927f459be25c54.tar.gz rails-55791c6c0012d0daea2a75b6a5927f459be25c54.tar.bz2 rails-55791c6c0012d0daea2a75b6a5927f459be25c54.zip |
Removed used check_view_paths after 057768c
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/template_finder.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_view/template_finder.rb b/actionpack/lib/action_view/template_finder.rb index fc2a07b30c..cd5e290644 100644 --- a/actionpack/lib/action_view/template_finder.rb +++ b/actionpack/lib/action_view/template_finder.rb @@ -157,12 +157,5 @@ module ActionView #:nodoc: def find_template_extension_from_first_render File.basename(@template.first_render.to_s)[/^[^.]+\.(.+)$/, 1] end - - private - def check_view_paths(view_paths) - view_paths.each do |path| - raise InvalidViewPath.new(path) unless @@processed_view_paths.has_key?(path) - end - end end end |