From 7d904fa0b0d0f16a445180c1cf7164dd81e11e12 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Tue, 30 Apr 2013 18:13:24 +0200 Subject: remove url-get params in Fourstore get call --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index 20fadad..f9e456b 100644 --- a/application.rb +++ b/application.rb @@ -40,7 +40,7 @@ module OpenTox get "/dataset/:id/?" do case @accept when "application/rdf+xml", "text/turtle", "text/plain", /html/ - r = FourStore.get(@uri, @accept) + r = FourStore.get(@uri.split('?').first, @accept) else case @accept when "text/csv" -- cgit v1.2.3