Skip to content
Browse files

just ask the response for the commit status, we do not need to ask th…

…e jar
  • Loading branch information...
1 parent 77a0921 commit c0a783610f5cf77050a55ad70b2cd2cf657bffe3 @tenderlove tenderlove committed Mar 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/live.rb
View
2 actionpack/lib/action_controller/metal/live.rb
@@ -183,7 +183,7 @@ def finalize_response
super
jar = request.cookie_jar
# The response can be committed multiple times
- jar.write self unless jar.committed?
+ jar.write self unless committed?
jar.commit!
headers.freeze
end

0 comments on commit c0a7836

Please sign in to comment.
Something went wrong with that request. Please try again.