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/8aee5d71386821b34a2ff7df28e610fe04037c09?hp=b316fed18eb47c27fcdbf8e2da4b248a6e00ce37 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