Skip to content

Commit

Permalink
Avoid uninitialized variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Sep 27, 2010
1 parent d95a16c commit d0621fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/test_case.rb
Expand Up @@ -421,7 +421,7 @@ def setup_controller_request_and_response


@request.env.delete('PATH_INFO') @request.env.delete('PATH_INFO')


if @controller if defined?(@controller) && @controller
@controller.request = @request @controller.request = @request
@controller.params = {} @controller.params = {}
end end
Expand Down

0 comments on commit d0621fd

Please sign in to comment.