X-Git-Url: https://git.r.bdr.sh/rbdr/grita/blobdiff_plain/9316ecf28350d6f4e22774e9c53283a0628e10a6..8aee5d71386821b34a2ff7df28e610fe04037c09:/grita.rb?ds=sidebyside 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