Permalink
Browse files

initialize prefixes in LookupContext.

  • Loading branch information...
1 parent 65ceccb commit 88c21121f1e5ea31cf780cf65c89a143f168b01a @apotonick apotonick committed May 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_view/lookup_context.rb
@@ -64,6 +64,7 @@ def initialize(view_paths, details = {})
@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|

0 comments on commit 88c2112

Please sign in to comment.