From 88c21121f1e5ea31cf780cf65c89a143f168b01a Mon Sep 17 00:00:00 2001 From: Nick Sutterer Date: Wed, 4 May 2011 00:10:21 +0200 Subject: initialize prefixes in LookupContext. --- actionpack/lib/action_view/lookup_context.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionpack/lib/action_view/lookup_context.rb index 89729b70b3..797a55b2b6 100644 --- a/actionpack/lib/action_view/lookup_context.rb +++ b/actionpack/lib/action_view/lookup_context.rb @@ -64,6 +64,7 @@ module ActionView @details, @details_key = { :handlers => default_handlers }, nil @frozen_formats, @skip_default_locale = false, false @cache = true + @prefixes = [] self.view_paths = view_paths self.registered_detail_setters.each do |key, setter| -- cgit v1.2.3