]> git.r.bdr.sh - rbdr/grita/blobdiff - grita.rb
Fixes QR Codes.
[rbdr/grita] / grita.rb
index 180fe194dab08493c50658acfe1b67f6cd313859..cefcc909730834fdc0a00922947be6b9dcfdedb5 100644 (file)
--- 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