summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-09 17:38:21 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-09 17:38:21 +0200
commitbb3d126a80aad73baa152e94d9d3032a63b741c7 (patch)
treede3a73dcc542288873193b349f3c3e665f90ce5c
parent1e0e3d6b7cebb3930c65858453f22ff37db1d51d (diff)
parent6dc314aa6bcf546339026e30da9748ca8d7bb6fe (diff)
Merge commit 'mguetlein/test' into development
-rwxr-xr-xapplication.rb2
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