app/Http/Controllers/EnterpriseThanksAppController.php
/**
     *
     * Find enterprise thanks based in keywords given by the user.
     *
     * @param Request $request
     *
     * @return Response
     * 
     */
Find enterprise thanks based in keywords given by the user.
@param Request $request

@return Response
Find enterprise thanks based in keywords given by the user . @param Request $request @return Response
public function find(Request $request)
    {
        $enterprisesThanks = EnterpriseThanks::where('content', 'LIKE', "%{$request->search}%")->get();
        return view('app.index')->with('enterprisesThanks', $enterprisesThanks);
    }
public function find ( Request $ request ) { $ enterprisesThanks = EnterpriseThanks :: where ( 'content' , 'LIKE' , " % { $ request -> search } % " ) -> get ( ) ; return view ( 'app.index' ) -> with ( 'enterprisesThanks' , $ enterprisesThanks ) ; }
Find enterprise thanks based in keywords given by the user.
Find enterprise thanks based in keywords given by the user .