diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-08-09 17:38:21 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-08-09 17:38:21 +0200 |
commit | bb3d126a80aad73baa152e94d9d3032a63b741c7 (patch) | |
tree | de3a73dcc542288873193b349f3c3e665f90ce5c | |
parent | 1e0e3d6b7cebb3930c65858453f22ff37db1d51d (diff) | |
parent | 6dc314aa6bcf546339026e30da9748ca8d7bb6fe (diff) |
Merge commit 'mguetlein/test' into development
-rwxr-xr-x | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb index b130a29..8c8a83d 100755 --- a/application.rb +++ b/application.rb @@ -129,7 +129,7 @@ post '/?' do # when /csv/ # dataset.yaml = csv2yaml request.env["rack.input"].read when "application/rdf+xml" - dataset.yaml = YAML.load(OpenTox::Dataset.owl_to_yaml(request.env["rack.input"].read,dataset.uri)) + dataset.yaml = OpenTox::Dataset.owl_to_yaml(request.env["rack.input"].read,dataset.uri) else halt 404, "MIME type \"#{request.content_type}\" not supported." end |