aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-05 15:49:36 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-05 15:49:36 +0100
commit7d4d97e22ad3cb1ff280265cbbc880feff47e694 (patch)
treec1f8bbdc0ca091f42d0bb504006e454d4b03c707 /actionpack/lib
parent80715cee73856d0ccade7b912b1e6a0aa5ca135b (diff)
downloadrails-7d4d97e22ad3cb1ff280265cbbc880feff47e694.tar.gz
rails-7d4d97e22ad3cb1ff280265cbbc880feff47e694.tar.bz2
rails-7d4d97e22ad3cb1ff280265cbbc880feff47e694.zip
Actually, revert previous commit. Having a lot of information is better than having no information at all.
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/template/resolver.rb12
1 files changed, 3 insertions, 9 deletions
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