Skip to content

Commit

Permalink
Update deprecated ERB invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfb committed Mar 17, 2023
1 parent ed4be97 commit 7b8018c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/identifier.rb
Expand Up @@ -257,7 +257,7 @@ def file_template
template_path = File.join(Rails.root, %w[data templates],
"#{self.class.to_s.underscore}.xml.erb")

template = ERB.new(File.new(template_path).read, nil, '-')
template = ERB.new(File.new(template_path).read, trim_mode: '-')

id = id_attribute
n = n_attribute
Expand Down

0 comments on commit 7b8018c

Please sign in to comment.