public function showAllInterests() { $interests = Interest::paginate(10); return view('admin.interests.index', compact('interests')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $data = Interest::paginate(10); return $data; }