fix(dossier clone): always rebase cloned dossiers
This commit is contained in:
parent
6abd0f8db0
commit
5e4d96654f
2 changed files with 3 additions and 3 deletions
|
@ -107,9 +107,7 @@ module DossierCloneConcern
|
|||
transaction do
|
||||
cloned_dossier.save!(validate: !fork)
|
||||
|
||||
if fork
|
||||
cloned_dossier.rebase!
|
||||
end
|
||||
cloned_dossier.rebase!
|
||||
end
|
||||
|
||||
if fork
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue