Class: Peoplefinder::SearchController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Peoplefinder::SearchController
- Defined in:
- app/controllers/peoplefinder/search_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/peoplefinder/search_controller.rb', line 3 def index @people = Person.fuzzy_search(params[:query]).records.limit(100) end |