diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-04-30 18:13:24 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-04-30 18:15:05 +0200 |
commit | 7d904fa0b0d0f16a445180c1cf7164dd81e11e12 (patch) | |
tree | f3798dfff4ce09569850a9cc02cb7414e3aa260b | |
parent | 71d3e9ca6dc066cc511f9a100ef8354cae2b31e6 (diff) |
remove url-get params in Fourstore get call
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |