summaryrefslogtreecommitdiff
path: root/views/predict.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/predict.haml')
-rw-r--r--views/predict.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml
index 042c03e..bed0837 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -91,7 +91,7 @@
- @endpoints.each do |endpoint|
%b= endpoint[0].split("#").last.gsub("_", " ").gsub(/\"|\]/, "")+" :"
- @models.each do |model|
- - if endpoint[0] == model.type.select{|e| e =~ /Endpoint/}
+ - if endpoint == model.type.select{|e| e =~ /Endpoint/}
- model_title = model.title.split("_").last(2)[0]
- model_t = model.title.gsub("_", " ")
- @detail_count +=1