We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baad066 commit 02beabbCopy full SHA for 02beabb
app/controllers/admin/sponsorships_controller.rb
@@ -11,7 +11,7 @@ def show
11
def download_asset
12
asset = @sponsorship.asset_file
13
raise ActiveRecord::RecordNotFound unless asset
14
- redirect_to asset.download_url()
+ redirect_to(asset.download_url(), allow_other_host: true)
15
end
16
17
def edit
0 commit comments