diff --git a/backend/app/controllers/api/v1/researcher/analysis_controller.rb b/backend/app/controllers/api/v1/researcher/analysis_controller.rb index 098268bf9..c988b2a74 100644 --- a/backend/app/controllers/api/v1/researcher/analysis_controller.rb +++ b/backend/app/controllers/api/v1/researcher/analysis_controller.rb @@ -50,7 +50,7 @@ def update def download_run_results run = @analysis.runs.find(params[:run_id]) - redirect_to url_for(run.output, allow_other_host: true) + redirect_to(url_for(run.output), allow_other_host: true) end def update_run