Permalink
Browse files

! books -> gems

  • Loading branch information...
1 parent 3708b32 commit eb76fb289879e38ac68386ad800996e2fd668664 @floere committed Sep 11, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −1 app.rb
  2. +0 −1 tmp/pids/unicorn.pid
View
2 app.rb
@@ -119,8 +119,8 @@ class GemSearch < Sinatra::Application
# Updates the search count while the user is typing.
#
get '/search/live' do
+ results = gems.search params[:query], params[:ids] || 20, params[:offset] || 0
response['Cache-Control'] = 'public, max-age=36000'
- results = books.search params[:query], params[:ids] || 20, params[:offset] || 0
results.to_json
end
View
@@ -1 +0,0 @@
-9561

0 comments on commit eb76fb2

Please sign in to comment.