diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-01 20:45:28 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-01 20:45:28 +1100 |
commit | a0f44fe0fb0e2ba193a0e1875ed2283e958ec699 (patch) | |
tree | 716a07ba5378c4db56642b730543b07aa3164ceb | |
parent | f72dd368b305d352a6658fafe6a4a993bba97b32 (diff) | |
download | rails-a0f44fe0fb0e2ba193a0e1875ed2283e958ec699.tar.gz rails-a0f44fe0fb0e2ba193a0e1875ed2283e958ec699.tar.bz2 rails-a0f44fe0fb0e2ba193a0e1875ed2283e958ec699.zip |
Silence warning of missing init on @config
-rw-r--r-- | actionpack/lib/action_view/base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index d69e5109fa..4970c768e8 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -274,6 +274,7 @@ module ActionView #:nodoc: 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 |