diff options
author | gebele <gebele@in-silico.ch> | 2019-08-16 09:49:53 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-08-16 09:49:53 +0000 |
commit | 270bddf5081671cd1905d6cce6eb3659159f573a (patch) | |
tree | 86dd2db590b86185cce8f52cefb2b7fba0fb9623 /views/neighbors.haml | |
parent | 74332693fed1d5ecb695dd6ae0c2fc611d14c4d7 (diff) |
change hostname method
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r-- | views/neighbors.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml index 687f0ab..e67c664 100644 --- a/views/neighbors.haml +++ b/views/neighbors.haml @@ -34,7 +34,7 @@ / Compound - c = Compound.find(neighbor) %td - %a.btn.btn-link{:href => "#details#{j+1}", data: { toggle: "modal", remote: "//#{ENV['VIRTUAL_HOST']}/prediction/#{CGI.escape(c.id.to_s)}/details", :id=>"link#{j+1}#{count}"}} + %a.btn.btn-link{:href => "#details#{j+1}", data: { toggle: "modal", remote: "//#{$host_with_port}/prediction/#{CGI.escape(c.id.to_s)}/details", :id=>"link#{j+1}#{count}"}} = embedded_svg(c.svg, :title=>"click for details") / Measured Activity |