/** * Display a listing of the resource. * * @return Response */ public function index() { $countries = Country::search(Request::get('q'))->paginate(10); return view_backend('country.index', compact('countries')); }