From 46acb5ff3c9ec9935938a604c9c2ee1db11c1154 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 6 Jan 2023 11:11:39 +0100 Subject: [PATCH] Refresh experiment workflow image on task duplication [SCI-7700] --- app/controllers/experiments_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb index 1f5409de3..8da43aef2 100644 --- a/app/controllers/experiments_controller.rb +++ b/app/controllers/experiments_controller.rb @@ -449,6 +449,7 @@ class ExperimentsController < ApplicationController ) MyModules::CopyContentJob.perform_later(current_user, my_module.id, new_my_module.id) end + @experiment.workflowimg.purge end render(