summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-05-10 18:45:22 +0200
committerChristoph Helma <helma@in-silico.ch>2010-05-10 18:45:22 +0200
commit0cf1fbcfae7f618f188f8b44051e5fc0724f8728 (patch)
tree0bbbda6fe1144884a397ec7169b3600e2ddb8c85 /lib/dataset.rb
parentd32c70ba0ccbd4b32a972258683c190f48fdbe07 (diff)
Validation service integrated
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb2
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"