diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 17:08:43 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 17:08:43 -0300 |
commit | 3f94b45262577b70a1d9f3aea45e0e4f07a2bbaa (patch) | |
tree | d14e3305aadd3c29f31e5fa45c5b2ce27ef770be /actionpack/test/controller | |
parent | 19d9fffb9b8350b03cf8b1e3a3249eba06d22c1a (diff) | |
download | rails-3f94b45262577b70a1d9f3aea45e0e4f07a2bbaa.tar.gz rails-3f94b45262577b70a1d9f3aea45e0e4f07a2bbaa.tar.bz2 rails-3f94b45262577b70a1d9f3aea45e0e4f07a2bbaa.zip |
Remove more warnings: no need to define attr_accessor if already exists. Initialize ivar.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index 42723c834e..5d1341af1b 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -327,6 +327,7 @@ class TestController < ActionController::Base end def default_render + @alternate_default_render ||= nil if @alternate_default_render @alternate_default_render.call else |