app: remove the feature flag for pieces justificatives auto-upload
The feature works as intended: we can remove the feature flag.
This commit is contained in:
parent
e3f4547841
commit
93bb5283ff
3 changed files with 58 additions and 96 deletions
|
@ -33,7 +33,7 @@ module ChampHelper
|
|||
end
|
||||
|
||||
def auto_attach_url(form, object)
|
||||
if feature_enabled?(:autoupload_dossier_attachments) && object.is_a?(Champ) && object.persisted? && object.public?
|
||||
if object.is_a?(Champ) && object.persisted? && object.public?
|
||||
champs_piece_justificative_url(object.id)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue