diff options
Diffstat (limited to 'application.rb')
-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 |