Class: Uchi::SearchesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Uchi::SearchesController
- Defined in:
- app/controllers/uchi/searches_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/uchi/searches_controller.rb', line 5 def show @query = params[:query] @repositories = Uchi::Repository.all.map(&:new).select(&:searchable?) end |