Skip to content

Commit c7b5cca

Browse files
authored
Merge pull request #26 from CreatekIO/rails-6-1-compatibility
Rails 6 1 compatibility
2 parents 0773f16 + 9d4d34a commit c7b5cca

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)