aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRodrigo Pavano <rodrigopavano@gmail.com>2019-06-27 12:57:30 -0300
committerRodrigo Pavano <rodrigopavano@gmail.com>2019-06-27 12:58:03 -0300
commit1bdd8fa576d26ff9f05c649feb3ecc9527c2c16d (patch)
treeaa5d8070df283833aa93d7f36c3878b8e90dd75e /guides
parent40246125b99ed1f7d7ea869980523e50a0ec9a96 (diff)
downloadrails-1bdd8fa576d26ff9f05c649feb3ecc9527c2c16d.tar.gz
rails-1bdd8fa576d26ff9f05c649feb3ecc9527c2c16d.tar.bz2
rails-1bdd8fa576d26ff9f05c649feb3ecc9527c2c16d.zip
Updated ActiveStorage docs by adding missing config [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index e53e8b4e92..a2b5e79f86 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -844,6 +844,8 @@ You can find more detailed configuration options in the
* `config.active_storage.content_types_to_serve_as_binary` accepts an array of strings indicating the content types that Active Storage will always serve as an attachment, rather than inline. The default is `%w(text/html
text/javascript image/svg+xml application/postscript application/x-shockwave-flash text/xml application/xml application/xhtml+xml application/mathml+xml text/cache-manifest)`.
+* `config.active_storage.content_types_allowed_inline` accepts an array of strings indicating the content types that Active Storage allows to serve as inline. The default is `%w(image/png image/gif image/jpg image/jpeg image/vnd.adobe.photoshop image/vnd.microsoft.icon application/pdf)`.
+
* `config.active_storage.queues.analysis` accepts a symbol indicating the Active Job queue to use for analysis jobs. When this option is `nil`, analysis jobs are sent to the default Active Job queue (see `config.active_job.default_queue_name`).
```ruby