Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed routs to match candlepin routs
  • Loading branch information
abenari committed Jul 31, 2011
1 parent 91594b5 commit b5a1195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mini_search.rb
Expand Up @@ -7,13 +7,13 @@
require 'config/settings.rb'

module MiniSearch
get '/subscriptions' do
get '/candlepin/pools' do
res = Subscription.my_subscription("#{params[:owner]}").search_for("#{params[:search]}")
content_type :json
res.to_json
end

get '/subscriptions/auto_complete_search' do
get '/candlepin/pools/auto_complete_search' do
res = Subscription.complete_for("#{params[:search]}")
content_type :json
res.to_json
Expand Down

0 comments on commit b5a1195

Please sign in to comment.