Skip to content

Commit cef1baf

Browse files
committed
Fix formatting of Actionpack options docs [ci-skip]
This was probably missed with the conversion to markdown.
1 parent 4944454 commit cef1baf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

actionpack/lib/action_controller/metal/data_streaming.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ module DataStreaming
2828
# `send_file(params[:path])` allows a malicious user to download any file on
2929
# your server.
3030
#
31-
# Options:
31+
# #### Options:
32+
#
3233
# * `:filename` - suggests a filename for the browser to use. Defaults to
3334
# `File.basename(path)`.
3435
# * `:type` - specifies an HTTP content type. You can specify either a string
@@ -90,7 +91,8 @@ def send_file(path, options = {}) # :doc:
9091
# inline data. You may also set the content type, the file name, and other
9192
# things.
9293
#
93-
# Options:
94+
# #### Options:
95+
#
9496
# * `:filename` - suggests a filename for the browser to use.
9597
# * `:type` - specifies an HTTP content type. Defaults to
9698
# `application/octet-stream`. You can specify either a string or a symbol

actionpack/lib/action_controller/metal/live.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ def response_body=(body)
326326
# or other running data where you don't want the entire file buffered in memory
327327
# first. Similar to send_data, but where the data is generated live.
328328
#
329-
# Options:
329+
# #### Options:
330+
#
330331
# * `:filename` - suggests a filename for the browser to use.
331332
# * `:type` - specifies an HTTP content type. You can specify either a string
332333
# or a symbol for a registered type with `Mime::Type.register`, for example

0 commit comments

Comments
 (0)