summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-06-18 12:49:35 +0000
committergebele <gebele@in-silico.ch>2019-06-18 12:49:35 +0000
commit3869670b3acfb4de982f45ea24af940eccac5474 (patch)
tree6ad877b04260b252cd6af06014741cbd59928e56 /views
parent091e0c3d84223bb7513c88cbac103d0aaee1a32c (diff)
update routes and mime type and generate server uri for API file
Diffstat (limited to 'views')
-rw-r--r--views/layout.haml2
-rw-r--r--views/predict.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 3304c69..f06a700 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -65,7 +65,7 @@
&copy;
%a{:href => 'http://www.in-silico.ch', :rel => "external"} <i style="font-family: serife">in silico</i> toxicology gmbh 2004 - #{Time.now.year.to_s}
|
- %a{:href => to("/license"), :rel => "external"} GPL3 License
+ %a{:href => to("/predict/license"), :rel => "external"} GPL3 License
%supporters.row
%div.card-body.text-center
%div.card-title
diff --git a/views/predict.haml b/views/predict.haml
index d525b33..7602915 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -169,7 +169,7 @@
%br
%span.btn.btn-file{:style=>"background-color:white;"}
%input.form-control-file{:type=>"file", :name=> "fileselect", :id=>"fileselect", :accept=>"text/csv"}
- %a.btn.btn-warning{:href => to("/help"), :rel => "external", :style=>"margin-left: 1em;"} Help
+ %a.btn.btn-warning{:href => to("/predict/help"), :rel => "external", :style=>"margin-left: 1em;"} Help
%fieldset#middle.card.bg-light
#models.card-body