summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/grito.haml2
1 files changed, 1 insertions, 1 deletions
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