diff options
author | gebele <gebele@in-silico.ch> | 2013-05-13 10:55:13 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-05-13 10:55:13 +0200 |
commit | aa9cc7340cb05ccb8a63ead9dfee6e8d557647d9 (patch) | |
tree | 16648209495785ba1dc6a09b1e6271571e1829ef | |
parent | 4f6216d6dcf5ea268a8e5367780031b3bf98efea (diff) |
cut subjectid from uri
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |