Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 267 Bytes
class SearchesController < ApplicationController
def show
if params[:query]
@gems = Rubygem.search(params[:query]).with_versions.paginate(:page => params[:page])
@exact_match = Rubygem.name_is(params[:query]).with_versions.first
end
end
end
Something went wrong with that request. Please try again.