Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

! books -> gems

  • Loading branch information...
commit eb76fb289879e38ac68386ad800996e2fd668664 1 parent 3708b32
Florian R. Hanke authored

Showing 2 changed files with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  app.rb
  2. +0 1  tmp/pids/unicorn.pid
2  app.rb
@@ -119,8 +119,8 @@ class GemSearch < Sinatra::Application
119 119 # Updates the search count while the user is typing.
120 120 #
121 121 get '/search/live' do
  122 + results = gems.search params[:query], params[:ids] || 20, params[:offset] || 0
122 123 response['Cache-Control'] = 'public, max-age=36000'
123   - results = books.search params[:query], params[:ids] || 20, params[:offset] || 0
124 124 results.to_json
125 125 end
126 126
1  tmp/pids/unicorn.pid
... ... @@ -1 +0,0 @@
1   -9561

0 comments on commit eb76fb2

Please sign in to comment.
Something went wrong with that request. Please try again.