From a11aebb2ca53db5305bb5b00ea66a57926d17754 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 14 Jun 2021 12:32:46 +0100 Subject: [PATCH] Update stylesheets loaded with wicked-pdf to use Webpack Luckily wicked-pdf already has a corresponding helper method. --- app/views/spree/admin/orders/invoice.html.haml | 2 +- app/views/spree/admin/orders/invoice2.html.haml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/spree/admin/orders/invoice.html.haml b/app/views/spree/admin/orders/invoice.html.haml index 1ee17ea165..196a1a4777 100644 --- a/app/views/spree/admin/orders/invoice.html.haml +++ b/app/views/spree/admin/orders/invoice.html.haml @@ -1,4 +1,4 @@ -= wicked_pdf_stylesheet_link_tag "mail/all" += wicked_pdf_stylesheet_pack_tag "mail" %table{:width => "100%"} %tbody diff --git a/app/views/spree/admin/orders/invoice2.html.haml b/app/views/spree/admin/orders/invoice2.html.haml index 9428d62eca..68ebcbfd68 100644 --- a/app/views/spree/admin/orders/invoice2.html.haml +++ b/app/views/spree/admin/orders/invoice2.html.haml @@ -1,5 +1,4 @@ -= wicked_pdf_stylesheet_link_tag "mail/all" - += wicked_pdf_stylesheet_pack_tag "mail" %table{:width => "100%"} %tbody