Storage: add :azure to remaining callers (#26080)
This commit is contained in:
parent
6c3c5bbbc3
commit
12a6cf569e
6 changed files with 16 additions and 3 deletions
|
@ -10,7 +10,7 @@ class BackupsController < ApplicationController
|
|||
|
||||
def download
|
||||
case Paperclip::Attachment.default_options[:storage]
|
||||
when :s3
|
||||
when :s3, :azure
|
||||
redirect_to @backup.dump.expiring_url(10), allow_other_host: true
|
||||
when :fog
|
||||
if Paperclip::Attachment.default_options.dig(:fog_credentials, :openstack_temp_url_key).present?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue