remove :autosave_dossier_draft

This commit is contained in:
clemkeirua 2020-09-14 22:40:43 +02:00 committed by Keirua (Rebase PR Action)
parent b6fe36154f
commit f9c4e967d6
3 changed files with 2 additions and 7 deletions

View file

@ -42,7 +42,7 @@ module DossierHelper
end
def autosave_available?(dossier)
dossier.brouillon? && Flipper.enabled?(:autosave_dossier_draft, dossier.user)
dossier.brouillon?
end
def dossier_submission_is_closed?(dossier)