Skip to content

Commit e6ec6f4

Browse files
committed
Using url instead of service_url
1 parent 37ba706 commit e6ec6f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/concerns/csv2db/active_storage_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def download_link
3333

3434
set_current_host
3535

36-
file_attachment.service_url(
36+
file_attachment.url(
3737
expires_in: LINK_MAX_EXPIRY.to_i,
3838
disposition: 'attachment'
3939
)

0 commit comments

Comments
 (0)