aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2019-07-12 15:30:28 -0400
committerGannon McGibbon <gannon.mcgibbon@gmail.com>2019-07-22 12:35:04 -0400
commit3cf65bcb8ee3c27204dee5cac003a749973240f9 (patch)
treeb3d5537d6fe9e84ece34ef1bf4cb4e3d70226fc7 /guides
parent3b36d75c8fef2e8d3bc9db87486729d4e8229840 (diff)
downloadrails-3cf65bcb8ee3c27204dee5cac003a749973240f9.tar.gz
rails-3cf65bcb8ee3c27204dee5cac003a749973240f9.tar.bz2
rails-3cf65bcb8ee3c27204dee5cac003a749973240f9.zip
Make Active Storage routes optional
Add configuration option to turn off drawing of Active Storage routes.
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 4e0224b61e..80cd141de8 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -885,6 +885,8 @@ text/javascript image/svg+xml application/postscript application/x-shockwave-fla
* `config.active_storage.replace_on_assign_to_many` determines whether assigning to a collection of attachments declared with `has_many_attached` replaces any existing attachments or appends to them. The default is `true`.
+* `config.active_storage.draw_routes` can be used to toggle Active Storage route generation. The default is `true`.
+
### Results of `load_defaults`
#### With '5.0':