aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorGuo Xiang Tan <tgx_world@hotmail.com>2015-05-29 17:41:42 +0800
committerGuo Xiang Tan <tgx_world@hotmail.com>2015-05-29 17:41:42 +0800
commit4abb8c9d5bccca0e3c092031d87d000a21f57723 (patch)
tree9a7389c616c2fb2b34cef1f38c0d1c8561e321ed /actionpack/lib/action_controller
parent6e83a133f7d555948c02abd4dc40abb84790210c (diff)
downloadrails-4abb8c9d5bccca0e3c092031d87d000a21f57723.tar.gz
rails-4abb8c9d5bccca0e3c092031d87d000a21f57723.tar.bz2
rails-4abb8c9d5bccca0e3c092031d87d000a21f57723.zip
Remove unused code.
Code was moved into the `assign` method.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index b29c5b23fc..bd88b20cea 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -492,8 +492,6 @@ module ActionController
end
@response.prepare!
- @assigns = @controller.respond_to?(:view_assigns) ? @controller.view_assigns : {}
-
if flash_value = @request.flash.to_session_value
@request.session['flash'] = flash_value
else