Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Silence warning of missing init on @config

  • Loading branch information...
commit 5867f9516dac1d8ea7701eecea5cd8797888edde 1 parent a009239
Mikel Lindsaar mikel authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionpack/lib/action_view/base.rb
1  actionpack/lib/action_view/base.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.