From df1d9c779eed10affa4f8bdcccd5a77eaa57ec9a Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 13 Jun 2013 11:29:10 +0200 Subject: changed route --- lib/opentox.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/opentox.rb b/lib/opentox.rb index 3adca81..e3f1910 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -132,9 +132,7 @@ module OpenTox end # internal route not in API - # example: /SERVICE/last/0 returns last 10 modified uris (default) - # example: /SERVICE/last/5 returns last 5 modified uris - get "/#{SERVICE}/ordered/?" do + get "/#{SERVICE}/last/ordered/?" do FourStore.query("SELECT DISTINCT ?s WHERE {GRAPH ?g {?s <#{RDF.type}> <#{RDF::OT}#{SERVICE.capitalize}>; <#{RDF::DC.date}> ?o. } -- cgit v1.2.3