diff options
author | gebele <gebele@in-silico.ch> | 2015-06-22 17:22:19 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2015-06-22 17:22:19 +0200 |
commit | 46166d66c458eb9d922f0c6c4958654a761a7529 (patch) | |
tree | fccd3baa4e36c4ba48f84567fe5cc445a74c2cca /application.rb | |
parent | d356e84babc0b753ba29f27f589b5a85bbd2e982 (diff) |
several updates for browser compatibility
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |