diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-29 19:27:19 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-29 19:27:19 -0600 |
commit | 558ab327b733717f4a8de3ed62b8dcd62e9ff9c3 (patch) | |
tree | c9fa54a925e8259057d8a6d9b20447d8ae8ea844 /actionpack/lib/action_controller/rescue.rb | |
parent | 490c26c8433a6d278bc61118782da360e8889646 (diff) | |
download | rails-558ab327b733717f4a8de3ed62b8dcd62e9ff9c3.tar.gz rails-558ab327b733717f4a8de3ed62b8dcd62e9ff9c3.tar.bz2 rails-558ab327b733717f4a8de3ed62b8dcd62e9ff9c3.zip |
Clean up view path cruft and split path implementations into Template::Path and Template::EagerPath
Diffstat (limited to 'actionpack/lib/action_controller/rescue.rb')
-rw-r--r-- | actionpack/lib/action_controller/rescue.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/rescue.rb b/actionpack/lib/action_controller/rescue.rb index 3a5e5071bb..de35b53872 100644 --- a/actionpack/lib/action_controller/rescue.rb +++ b/actionpack/lib/action_controller/rescue.rb @@ -38,8 +38,8 @@ module ActionController #:nodoc: 'ActionView::TemplateError' => 'template_error' } - RESCUES_TEMPLATE_PATH = ActionView::PathSet::Path.new( - File.join(File.dirname(__FILE__), "templates"), true) + RESCUES_TEMPLATE_PATH = ActionView::Template::EagerPath.new( + File.join(File.dirname(__FILE__), "templates")) def self.included(base) #:nodoc: base.cattr_accessor :rescue_responses |