Permalink
Browse files

Silence warning of missing init on @config

  • Loading branch information...
mikel committed Jan 1, 2010
1 parent a009239 commit 5867f9516dac1d8ea7701eecea5cd8797888edde
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_view/base.rb
@@ -274,6 +274,7 @@ def inspect
end
def initialize(view_paths = [], assigns_for_first_render = {}, controller = nil, formats = nil)#:nodoc:
+ @config = nil
@formats = formats
@assigns = assigns_for_first_render.each { |key, value| instance_variable_set("@#{key}", value) }
@controller = controller

0 comments on commit 5867f95

Please sign in to comment.