From 1b97fb0aa78472efdf5e7b17937ad4ec57e88340 Mon Sep 17 00:00:00 2001 From: Bomrah Harry Date: Wed, 18 Jul 2018 19:46:22 +0800 Subject: [PATCH] fix --- app/controllers/recruitments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/recruitments_controller.rb b/app/controllers/recruitments_controller.rb index fdee499..110696f 100644 --- a/app/controllers/recruitments_controller.rb +++ b/app/controllers/recruitments_controller.rb @@ -709,7 +709,7 @@ class RecruitmentsController < PseudoSessionController query << {:desired_job_title.in => keywords} end if !query.empty? - candidates = EmployerProfile.any_of(query) + candidates = EmployeeProfile.any_of(query) end candidates end