diff options
author | George Claghorn <george@basecamp.com> | 2018-03-05 11:53:31 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-03-05 11:54:43 -0500 |
commit | ccac681122db9747fec9512076772bca345e24b9 (patch) | |
tree | 9648be7aa60c62b44d74e898b7a9f9888e6d7789 /activestorage/lib/active_storage/service/mirror_service.rb | |
parent | 9cc0c1aaf4d35b79055471f1a7ef0dba692b366d (diff) | |
download | rails-ccac681122db9747fec9512076772bca345e24b9.tar.gz rails-ccac681122db9747fec9512076772bca345e24b9.tar.bz2 rails-ccac681122db9747fec9512076772bca345e24b9.zip |
Generate root-relative paths in Active Storage disk service URL methods
Fixes #32129.
Diffstat (limited to 'activestorage/lib/active_storage/service/mirror_service.rb')
-rw-r--r-- | activestorage/lib/active_storage/service/mirror_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/mirror_service.rb b/activestorage/lib/active_storage/service/mirror_service.rb index 7eca8ce7f4..6002ef5a00 100644 --- a/activestorage/lib/active_storage/service/mirror_service.rb +++ b/activestorage/lib/active_storage/service/mirror_service.rb @@ -9,7 +9,7 @@ module ActiveStorage class Service::MirrorService < Service attr_reader :primary, :mirrors - delegate :download, :exist?, :url, to: :primary + delegate :download, :download_chunk, :exist?, :url, to: :primary # Stitch together from named services. def self.build(primary:, mirrors:, configurator:, **options) #:nodoc: |