From aa9cc7340cb05ccb8a63ead9dfee6e8d557647d9 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 13 May 2013 10:55:13 +0200 Subject: cut subjectid from uri --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 6583a82..edfbb91 100644 --- a/application.rb +++ b/application.rb @@ -38,7 +38,7 @@ module OpenTox end head "/#{SERVICE}/:id/?" do - resource_not_found_error "#{uri} not found." unless FourStore.head(@uri) + resource_not_found_error "#{uri} not found." unless FourStore.head(@uri.split('?').first) end get "/dataset/:id/?" do -- cgit v1.2.3