Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and Maciek Szczesniak committed Sep 19, 2010
1 parent d9e18e5 commit 3235b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinatra-s3/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def create_slot
raise MissingContentLength unless env['CONTENT_LENGTH']

if params.has_key?('acl')
slot = bucket.find_slot(oid)
slot = bucket.find_slot(params[:captures].last)
slot.grant(requested_acl(slot))
headers 'ETag' => slot.etag, 'Content-Length' => 0.to_s
body ""
Expand Down

0 comments on commit 3235b1a

Please sign in to comment.