summaryrefslogtreecommitdiff
path: root/views/model_details.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-08-16 09:49:53 +0000
committergebele <gebele@in-silico.ch>2019-08-16 09:49:53 +0000
commit270bddf5081671cd1905d6cce6eb3659159f573a (patch)
tree86dd2db590b86185cce8f52cefb2b7fba0fb9623 /views/model_details.haml
parent74332693fed1d5ecb695dd6ae0c2fc611d14c4d7 (diff)
change hostname method
Diffstat (limited to 'views/model_details.haml')
-rw-r--r--views/model_details.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/model_details.haml b/views/model_details.haml
index 1fcc624..ab58035 100644
--- a/views/model_details.haml
+++ b/views/model_details.haml
@@ -13,7 +13,7 @@
= data_entries.count/3
%br
= "Training dataset:\t"
- %a{:href=>"//#{ENV['VIRTUAL_HOST']}/predict/dataset/#{training_dataset.name}"}
+ %a{:href=>"//#{$host_with_port}/predict/dataset/#{training_dataset.name}"}
= training_dataset.name
%div.card.bg-light
@@ -190,7 +190,7 @@
%div.card.bg-light
%div.card-body
%h6.card-title QMRF:
- %a.btn.btn-outline-info{:href=>"//#{ENV['VIRTUAL_HOST']}/predict/report/#{model.id}", :id=>"report#{model.id}", :style=>"font-size:small;"}
+ %a.btn.btn-outline-info{:href=>"//#{$host_with_port}/predict/report/#{model.id}", :id=>"report#{model.id}", :style=>"font-size:small;"}
%span.fa.fa-download
XML
%br