From bcff5f34f5dbc66403377746bc9753cd3806dc43 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Fri, 28 Oct 2011 22:16:24 -0500 Subject: Adds Variable domain to view too. --- views/grito.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/grito.haml b/views/grito.haml index 5fac1c0..22cfc9b 100644 --- a/views/grito.haml +++ b/views/grito.haml @@ -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 -- cgit