From 8935d1971ef35e967c5e197b4903a1022f7afd68 Mon Sep 17 00:00:00 2001 From: Thiago Pradi Date: Thu, 9 Sep 2010 19:14:30 -0300 Subject: [PATCH] Removing unnecessary method --- actionpack/lib/abstract_controller/view_paths.rb | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/actionpack/lib/abstract_controller/view_paths.rb b/actionpack/lib/abstract_controller/view_paths.rb index 6544c89..4ec1937 100644 --- a/actionpack/lib/abstract_controller/view_paths.rb +++ b/actionpack/lib/abstract_controller/view_paths.rb @@ -15,11 +15,7 @@ module AbstractController # templates, i.e. view paths and details. Check ActionView::LookupContext for more # information. def lookup_context - @lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup) - end - - def details_for_lookup - { } + @lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, {}) end def append_view_path(path) -- 1.6.6.1