feat: improve seo urls?

This commit is contained in:
kbe
2025-09-06 01:44:48 +02:00
parent fa99a167a5
commit 5105964b39
22 changed files with 702 additions and 367 deletions

17
app/helpers/pdf_helper.rb Normal file
View File

@@ -0,0 +1,17 @@
module PdfHelper
require "rqrcode"
# Generate SVG QR code for tickets
def qr_code_tag(data)
qrcode = RQRCode::QRCode.new(data)
# Render as SVG
raw qrcode.as_svg(
offset: 0,
color: "000",
shape_rendering: "crispEdges",
module_size: 4,
standalone: true
)
end
end