diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2019-07-22 13:16:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-22 13:16:55 -0400 |
commit | 2ee75971ef52a0c8faedf32f28b66bf64efa6a49 (patch) | |
tree | b3d5537d6fe9e84ece34ef1bf4cb4e3d70226fc7 /guides/source | |
parent | 3b36d75c8fef2e8d3bc9db87486729d4e8229840 (diff) | |
parent | 3cf65bcb8ee3c27204dee5cac003a749973240f9 (diff) | |
download | rails-2ee75971ef52a0c8faedf32f28b66bf64efa6a49.tar.gz rails-2ee75971ef52a0c8faedf32f28b66bf64efa6a49.tar.bz2 rails-2ee75971ef52a0c8faedf32f28b66bf64efa6a49.zip |
Merge pull request #36666 from gmcgibbon/allow_disabling_active_storage_routes
Make Active Storage routes optional
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 2 |
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': |