From 941ef6c04f98195a571920f2daf66b41a763ff22 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 19 Feb 2015 12:48:13 +0100 Subject: fixed typo --- views/predict.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3