mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Actually, revert previous commit. Having a lot of information is better than having no information at all.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user