diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-05-11 18:41:13 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-05-11 18:41:13 +0200 |
commit | 6ea754fb00a284439d3bee5196301ab94d58ff1e (patch) | |
tree | f985c9ab8eb2dc13bfa38abe44c1ac47a45cc6a8 | |
parent | 1298062bb4a8c1ecdb8d47b31047a33f0a79e6ce (diff) |
add search functionality
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb index cee3997..c5a5f0c 100644 --- a/application.rb +++ b/application.rb @@ -27,7 +27,7 @@ DataMapper.auto_upgrade! get '/?' do response['Content-Type'] = 'text/uri-list' - Task.all.collect{|t| t.uri}.join("\n") + "\n" + Task.all(params).collect{|t| t.uri}.join("\n") + "\n" end get '/:id/?' do |