1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

initialize prefixes in LookupContext.

This commit is contained in:
Nick Sutterer 2011-05-04 00:10:21 +02:00
parent 65ceccb0ba
commit 88c21121f1

View file

@ -64,6 +64,7 @@ module ActionView
@details, @details_key = { :handlers => default_handlers }, nil @details, @details_key = { :handlers => default_handlers }, nil
@frozen_formats, @skip_default_locale = false, false @frozen_formats, @skip_default_locale = false, false
@cache = true @cache = true
@prefixes = []
self.view_paths = view_paths self.view_paths = view_paths
self.registered_detail_setters.each do |key, setter| self.registered_detail_setters.each do |key, setter|