summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-08-09 14:19:04 +0200
committermguetlein <martin.guetlein@gmail.com>2010-08-09 14:19:04 +0200
commit6dc314aa6bcf546339026e30da9748ca8d7bb6fe (patch)
tree79500603ee12282be502c47db26ec5b20ca9c5cb
parentf849a30c18ed64bbaa67c2a848ac223193e98b86 (diff)
remove not necessary Yaml.load
-rwxr-xr-xapplication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index 7c653a0..2fd17a7 100755
--- a/application.rb
+++ b/application.rb
@@ -131,7 +131,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