diff options
| author | Ben Beltran <ben@nsovocal.com> | 2011-10-28 22:16:24 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2011-10-28 22:16:24 -0500 |
| commit | bcff5f34f5dbc66403377746bc9753cd3806dc43 (patch) | |
| tree | 0e923b49bb158b76f75f21406391788f396eb6bb /views | |
| parent | c194753dd738f88ce42442dc1510ac29980893e7 (diff) | |
Adds Variable domain to view too.
Diffstat (limited to 'views')
| -rw-r--r-- | views/grito.haml | 2 |
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 |