Skip to content
Snippets Groups Projects
Commit 7765cefe authored by Gyan Gupta's avatar Gyan Gupta Committed by Anusha Ranganathan
Browse files

Fixes for file not visible in viewer

parent fc5d2258
Branches
Tags
1 merge request!291Fixes for file not visible in viewer
......@@ -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