mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +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.
|
* Show the form for creating a new resource.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user