Exemplo n.º 1
0
 public function headerSearch(Request $request)
 {
     return Searches::headerSearch($request->get('query'));
 }
Exemplo n.º 2
0
 /**
  * Return users that match given email.
  *
  * @param SearchUsersRequest $request
  * @return mixed
  */
 public function search(SearchUsersRequest $request)
 {
     return Searches::searchUsers($request->get('email'));
 }