fix(watermark): fix watermark text
Current attributes are not set in jobs
This commit is contained in:
parent
5d61444852
commit
9658a0ca47
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue