Merge pull request #10374 from colinux/watermark-dj

ETQ instructeur: rétablit l'affichage du filigrane des Titres d'identité
This commit is contained in:
LeSim 2024-04-23 15:22:28 +00:00 committed by GitHub
commit 6c70a3db28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ class WatermarkService
attr_reader :text
attr_reader :text_length
def initialize(text = Current.application_name)
def initialize(text = APPLICATION_NAME)
@text = " #{text} " # give more space around each occurence
@text_length = @text.length
end