]> git.r.bdr.sh - rbdr/grita/commitdiff
Adds Variable domain to view too.
authorBen Beltran <redacted>
Sat, 29 Oct 2011 03:16:24 +0000 (22:16 -0500)
committerBen Beltran <redacted>
Sat, 29 Oct 2011 03:16:24 +0000 (22:16 -0500)
views/grito.haml

index 5fac1c030f671324ef3729a3bcfb8af8de57a3f0..22cfc9bbde5d7e430f5bca61631affd2cfdc48b8 100644 (file)
@@ -2,6 +2,6 @@
 = @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