~rbdr/grita

8aee5d71386821b34a2ff7df28e610fe04037c09 — Ben Beltran 12 years ago b316fed main
Fixes QR Codes.
1 files changed, 1 insertions(+), 1 deletions(-)

M grita.rb
M grita.rb => grita.rb +1 -1
@@ 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