2017-07-31 11:58:52 +02:00
|
|
|
module NewGestionnaire
|
2017-11-22 09:56:36 +01:00
|
|
|
class RechercheController < GestionnaireController
|
2017-07-31 11:58:52 +02:00
|
|
|
def index
|
|
|
|
@search_terms = params[:q]
|
2018-07-31 12:04:49 +02:00
|
|
|
@dossiers = DossierSearchService.matching_dossiers_for_gestionnaire(@search_terms, current_gestionnaire)
|
2018-02-06 12:15:20 +01:00
|
|
|
end
|
2017-07-31 11:58:52 +02:00
|
|
|
end
|
|
|
|
end
|