Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/jekyll-admin/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ def document_body

def request_body
@request_body ||= begin
request.body.rewind
request.body.read
rq_bdy = request.body
rq_bdy.rewind if rq_bdy.respond_to?(:rewind)
rq_bdy.read
end
end

Expand Down
Loading