Skip to content
Snippets Groups Projects
Commit db42f8c1 authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

Merge branch 'bug_fix/375-file-not-visible-in-viewer' into 'develop'

Fixes for file not visible in viewer

See merge request !291
parents fc5d2258 7765cefe
Branches
Tags
1 merge request!291Fixes for file not visible in viewer
Pipeline #13654 failed
......@@ -31,7 +31,7 @@ ActiveSupport::Reloader.to_prepare do
file_set = FileSet.find(fs_id)
bucket_name = s3.sanitise_name(file_set.parent_works.first.id)
file_key = "/files/#{file_set.title.first}"
file_key = file_set.title.first
s3.presigned_url_for_download(bucket_name, file_key)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment