summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/application.rb b/application.rb
index e111673..304f8c0 100644
--- a/application.rb
+++ b/application.rb
@@ -1,5 +1,5 @@
require 'rubygems'
-gem "opentox-ruby-api-wrapper", "= 1.5.6"
+gem "opentox-ruby-api-wrapper", "= 1.5.7"
require 'opentox-ruby-api-wrapper'
LOGGER.progname = File.expand_path(__FILE__)
@@ -18,7 +18,7 @@ require 'lazar.rb'
get '/?' do # get index of models
response['Content-Type'] = 'text/uri-list'
- Model.all.collect{|m| m.uri}.join("\n") + "\n"
+ Model.all(params).collect{|m| m.uri}.join("\n") + "\n"
end
delete '/:id/?' do