diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-05-10 18:45:22 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-05-10 18:45:22 +0200 |
commit | 0cf1fbcfae7f618f188f8b44051e5fc0724f8728 (patch) | |
tree | 0bbbda6fe1144884a397ec7169b3600e2ddb8c85 /lib/dataset.rb | |
parent | d32c70ba0ccbd4b32a972258683c190f48fdbe07 (diff) |
Validation service integrated
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb index 9304eec..e21ccce 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -15,7 +15,7 @@ module OpenTox def self.find(uri, accept_header=nil) unless accept_header - if uri.match(@@config[:services]["opentox-dataset"]) || uri=~ /188.40.32.88/ + if uri.match(@@config[:services]["opentox-dataset"]) || uri=~ /188.40.32.88/ || uri =~ /informatik/ accept_header = 'text/x-yaml' else accept_header = "application/rdf+xml" |