summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb2
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