diff --git a/app/models/sample.rb b/app/models/sample.rb index c108616ba7..359beb5004 100644 --- a/app/models/sample.rb +++ b/app/models/sample.rb @@ -76,11 +76,11 @@ def sample_annotated_fasta_url end def sample_output_folder_url - "https://s3.console.aws.amazon.com/s3/object/#{SAMPLES_BUCKET_NAME}/#{sample_path}/results/" + "https://s3.console.aws.amazon.com/s3/buckets/#{SAMPLES_BUCKET_NAME}/#{sample_path}/results/" end def sample_input_folder_url - "https://s3.console.aws.amazon.com/s3/object/#{SAMPLES_BUCKET_NAME}/#{sample_path}/fastqs/" + "https://s3.console.aws.amazon.com/s3/buckets/#{SAMPLES_BUCKET_NAME}/#{sample_path}/fastqs/" end def as_json(_options = {})