diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index 4392bc8266..81d46aa466 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -210,7 +210,7 @@ module ActionController # Tests if render or redirect has already happened. def performed? - response_body || (response && response.committed?) + response_body || response.committed? end def dispatch(name, request, response) #:nodoc: |