Honor amount argument instead of hard coding counter (part 2)

See commit ca2e752937
This commit is contained in:
Gonzalo Rodriguez 2018-06-21 11:24:54 -03:00
parent 196868130a
commit d8b88cfb84
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1

View file

@ -16,7 +16,7 @@ module Rack
if options[:expires_in] && !read(name)
write(name, amount, options)
1
amount
else
super
end