style: link content

This commit is contained in:
kbe
2025-09-06 00:37:25 +02:00
parent 9b33b73bb4
commit fa99a167a5
6 changed files with 993 additions and 269 deletions

View File

@@ -39,12 +39,12 @@ class Ticket < ApplicationRecord
# Generate QR code as SVG
def generate_qr_svg
require 'rqrcode'
require "rqrcode"
qrcode = RQRCode::QRCode.new(to_qr_data)
qrcode.as_svg(
offset: 0,
color: '000',
shape_rendering: 'crispEdges',
color: "000",
shape_rendering: "crispEdges",
module_size: 4,
standalone: true
)