add demarches.gouv.fr as sender of automatic emails
This commit is contained in:
parent
edc4e60b81
commit
72a2b764dc
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Commentaire < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def sent_by_system?
|
def sent_by_system?
|
||||||
[CONTACT_EMAIL, OLD_CONTACT_EMAIL].include?(email)
|
["demarches.gouv.fr", CONTACT_EMAIL, OLD_CONTACT_EMAIL].include?(email)
|
||||||
end
|
end
|
||||||
|
|
||||||
def sent_by_instructeur?
|
def sent_by_instructeur?
|
||||||
|
|
Loading…
Reference in a new issue