]> git.r.bdr.sh - rbdr/grita/blobdiff - views/grito.haml
Fixes QR Codes.
[rbdr/grita] / views / grito.haml
index 5fac1c030f671324ef3729a3bcfb8af8de57a3f0..22cfc9bbde5d7e430f5bca61631affd2cfdc48b8 100644 (file)
@@ -2,6 +2,6 @@
 = @markdown.to_html
 %hr
 #sharing
 = @markdown.to_html
 %hr
 #sharing
-       %input.url{:value => "http://grita.heroku.com/#{@grito.gethash}", :readonly=>true}
+       %input.url{:value => "http://#{request.host}/#{@grito.gethash}", :readonly=>true}
        %br
        %img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"}
\ No newline at end of file
        %br
        %img#qrcode{:alt=>"Código QR", :src=>"/qr/#{@grito.gethash}.png"}
\ No newline at end of file