diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-08-09 14:19:04 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-08-09 14:19:04 +0200 |
commit | 6dc314aa6bcf546339026e30da9748ca8d7bb6fe (patch) | |
tree | 79500603ee12282be502c47db26ec5b20ca9c5cb | |
parent | f849a30c18ed64bbaa67c2a848ac223193e98b86 (diff) |
remove not necessary Yaml.load
-rwxr-xr-x | application.rb | 2 |
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 |