summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2015-02-19 12:44:04 +0100
committergebele <gebele@in-silico.ch>2015-02-19 12:44:04 +0100
commit432f3cbe388c8502de2734d60abe5561a4d6ec25 (patch)
treeac4a95a3ebcd3db1ff1d79bcc6106f214bd9ea0b
parent9319fc359a9e470388264aeb80b08ad555c56dfc (diff)
fixed typo
-rw-r--r--views/predict.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml
index fa16c14..97f4b40 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -89,7 +89,7 @@
#models
- @detail_count = 0
- @endpoints.each do |endpoint|
- %b= model_endpoint.split("#").last.gsub("_", " ").gsub(/\"|\]/, "")+" :"
+ %b= endpoint.split("#").last.gsub("_", " ").gsub(/\"|\]/, "")+" :"
- @models.each do |model|
- if endpoint == model.type.select{|e| e =~ /Endpoint/}
- model_title = model.title.split("_").last(2)[0]