Skip to content

Commit

Permalink
Fix NoMethodError
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaniwaki committed Jun 3, 2014
1 parent cec1ca4 commit 284f9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/dev-mark/middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def call(env)
$stderr.write "Failed to insert dev marks: #{e.message}\n"
end
end
new_body.close if response.respond_to?(:close)
response.close if response.respond_to?(:close)
headers['Content-Length'] &&= bytesize(new_body).to_s
response = [new_body]
end
Expand Down

0 comments on commit 284f9da

Please sign in to comment.