style: link content
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user