mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 12:34:06 +00:00
fix duplicated function for search company
This commit is contained in:
@@ -62,12 +62,6 @@ class CompanyController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
public function search($company_name)
|
||||
{
|
||||
$matchedTerm = Company::where('company_name', 'LIKE','%'. $company_name . '%')->get();
|
||||
return response()->json($matchedTerm);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user