From 235fc0dae31f66eda346497e81f09f330ac57bdc Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 18 Feb 2014 15:53:17 +0100 Subject: fixed typo --- application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.rb b/application.rb index f742442..4cd247f 100644 --- a/application.rb +++ b/application.rb @@ -168,12 +168,12 @@ class Application < Sinatra::Base get '/cid/:cid/prediction/assays/:outcome' do @assays = predicted_assays(params[:cid], params[:outcome]) - predicted_targets(params[:cid], params[:outcome]) - @assays and !@assays.empty? ? haml(:predicted_assays, :layout => false) : "

Insuffucient PubChem data for read across predictions.

" + @assays and !@assays.empty? ? haml(:predicted_assays, :layout => false) : "

Insufficient PubChem data for read across predictions.

" end get '/cid/:cid/prediction/targets/:outcome' do @assays = predicted_targets params[:cid], params[:outcome] - @assays and !@assays.empty? ? haml(:predicted_targets, :layout => false) : "

Insuffucient PubChem data for read across predictions.

" + @assays and !@assays.empty? ? haml(:predicted_targets, :layout => false) : "

Insufficient PubChem data for read across predictions.

" end get '/cid/:cid/neighbors/?' do -- cgit v1.2.3