diff options
author | Nick Sutterer <apotonick@gmail.com> | 2011-05-04 00:10:21 +0200 |
---|---|---|
committer | Nick Sutterer <apotonick@gmail.com> | 2011-05-04 00:10:21 +0200 |
commit | 88c21121f1e5ea31cf780cf65c89a143f168b01a (patch) | |
tree | 07f4c1c4fbf4f331fbc2deab5687fae34d24f33b /actionpack/lib/action_view | |
parent | 65ceccb0ba13dc845e6c73ada09b354583c1557a (diff) | |
download | rails-88c21121f1e5ea31cf780cf65c89a143f168b01a.tar.gz rails-88c21121f1e5ea31cf780cf65c89a143f168b01a.tar.bz2 rails-88c21121f1e5ea31cf780cf65c89a143f168b01a.zip |
initialize prefixes in LookupContext.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/lookup_context.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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| |