Fixes issue with move of experiments between projects [fixes SCI-400]

This commit is contained in:
Oleksii Kriuchykhin 2016-09-22 15:10:15 +02:00
parent b334b037f8
commit 0dd1196ae5

View file

@ -375,9 +375,9 @@ class Experiment < ActiveRecord::Base
project.tags << new_tags
m.tags << new_tags
end
save
touch(:workflowimg_updated_at)
result = save
touch(:workflowimg_updated_at) if result
result
end
# Get projects where user is either owner or user in the same organization