From 639ddd1ce3ae134042c0fb5ae8cd67e286ee6c95 Mon Sep 17 00:00:00 2001 From: Robin Dunlop Date: Thu, 24 Nov 2022 12:44:10 -0500 Subject: [PATCH] Rename pdf layouts to work with Rails 7. Upgrade wicked_pdf, (though not for any particular issue) --- Gemfile.lock | 2 +- app/views/layouts/{pdf.html.haml => pdf.pdf.haml} | 0 app/views/layouts/{simple_pdf.html.haml => simple_pdf.pdf.haml} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename app/views/layouts/{pdf.html.haml => pdf.pdf.haml} (100%) rename app/views/layouts/{simple_pdf.html.haml => simple_pdf.pdf.haml} (100%) diff --git a/Gemfile.lock b/Gemfile.lock index 1c78e7dec..c5684583c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -662,7 +662,7 @@ GEM chronic (>= 0.6.3) wicked (1.3.4) railties (>= 3.0.7) - wicked_pdf (1.4.0) + wicked_pdf (2.6.3) activesupport wkhtmltopdf-binary (0.12.3.1) xpath (3.2.0) diff --git a/app/views/layouts/pdf.html.haml b/app/views/layouts/pdf.pdf.haml similarity index 100% rename from app/views/layouts/pdf.html.haml rename to app/views/layouts/pdf.pdf.haml diff --git a/app/views/layouts/simple_pdf.html.haml b/app/views/layouts/simple_pdf.pdf.haml similarity index 100% rename from app/views/layouts/simple_pdf.html.haml rename to app/views/layouts/simple_pdf.pdf.haml