Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -9,9 +9,8 @@ module Concerns::SendOrderPdf
|
|||
when 'articles' then OrderByArticles
|
||||
when 'fax' then OrderFax
|
||||
when 'matrix' then OrderMatrix
|
||||
end
|
||||
end
|
||||
pdf = klass.new order
|
||||
send_data pdf.to_pdf, filename: pdf.filename, type: 'application/pdf'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue