From 46166d66c458eb9d922f0c6c4958654a761a7529 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 22 Jun 2015 17:22:19 +0200 Subject: several updates for browser compatibility --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 3f3d5f0..cff08a2 100644 --- a/application.rb +++ b/application.rb @@ -195,7 +195,7 @@ get '/predict/:dataset/?' do t = Tempfile.new("tempfile.rdf") t << `curl -k -H accept:application/rdf+xml #{params[:dataset]}` send_file t.path, - :filename => params[:dataset].split("_").last+".rdf" + :filename => params[:dataset].split("/").last+".rdf" t.close t.unlink end -- cgit v1.2.3