TechLadies/home-web

View on GitHub
app/controllers/queries_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class QueriesController < ApplicationController

  def show
    @results = Elasticsearch::Model.search(params[:query][:query], [Organization, Person, CaseFile, DomesticWorker, NonDomesticWorker]).records.to_a
  end

end