From 7d4d97e22ad3cb1ff280265cbbc880feff47e694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 5 Mar 2010 15:49:36 +0100 Subject: Actually, revert previous commit. Having a lot of information is better than having no information at all. --- actionpack/lib/action_view/template/resolver.rb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 962fa0e260..8c81914aac 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -18,11 +18,9 @@ module ActionView end end - register_detail(:locale) { [I18n.locale] } - register_detail(:formats) { Mime::SET.symbols } - register_detail(:handlers) do - Template::Handlers.extensions - end + register_detail(:locale) { [I18n.locale] } + register_detail(:formats) { Mime::SET.symbols } + register_detail(:handlers) { Template::Handlers.extensions } def initialize(options = {}) @cache = options[:cache] @@ -43,10 +41,6 @@ module ActionView end end - def to_s - self.class.name - end - private # This is what child classes implement. No defaults are needed -- cgit v1.2.3