diff options
author | Chris Bisnett <cbisnett@gmail.com> | 2018-09-14 10:23:32 -0400 |
---|---|---|
committer | Chris Bisnett <cbisnett@gmail.com> | 2018-09-14 10:40:18 -0400 |
commit | 7dd9916c0d5e5d149bdde8cbeec42ca49cf3f6ca (patch) | |
tree | 75a4fd691ac8d1cdb1d67a1cd469c26bb837c4e6 /activerecord | |
parent | d3c73ae5e4ebabdf6c79e490fddb2cbfb0de3b76 (diff) | |
download | rails-7dd9916c0d5e5d149bdde8cbeec42ca49cf3f6ca.tar.gz rails-7dd9916c0d5e5d149bdde8cbeec42ca49cf3f6ca.tar.bz2 rails-7dd9916c0d5e5d149bdde8cbeec42ca49cf3f6ca.zip |
Configure Active Storage route prefix
Applications can configure the route prefix prepended to the Active
Storage routes. By default this maintains the previous prefix
`/rails/active_storage` but supports custom prefixes.
Before this change the route for serving blobs is fixed to
`/rails/active_storage/blobs/:signed_id/*filename`. After this change
it's possible to configure the route to something like
`/files/blobs/:signed_id/*filename`.
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions