From: Ben Beltran Date: Mon, 14 Nov 2011 16:07:30 +0000 (-0600) Subject: Fixes QR Codes. X-Git-Url: https://git.r.bdr.sh/rbdr/grita/commitdiff_plain/refs/heads/main Fixes QR Codes. --- diff --git a/grita.rb b/grita.rb index 180fe19..cefcc90 100644 --- a/grita.rb +++ b/grita.rb @@ -27,7 +27,7 @@ get '/qr/:grito.png' do rpr_filepath = tmpfile.path + '.png' RQR::QRCode.create do |qr| - qr.save('http://#{request.host}/'+params[:grito], rpr_filepath) + qr.save("http://#{request.host}/"+params[:grito], rpr_filepath) end buffer = File.open(rpr_filepath).read